bolt/deps/llvm-18.1.8/clang/test/Sema/swift-call-conv.c

8 lines
318 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -triple aarch64-unknown-windows-msvc -fsyntax-only %s -verify
// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -fsyntax-only %s -verify
// RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -fsyntax-only %s -verify
// expected-no-diagnostics
void __attribute__((__swiftcall__)) f(void) {}