llvm-project
13 строк · 337.0 Байт
1// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
2
3@interface Test
4- (void)test;
5@end
6
7@implementation Test
8- (void)test __attribute__((stdcall)) {}
9// CHECK: define{{.*}}x86_stdcallcc{{.*}}Test test
10
11- (void)test2 __attribute__((ms_abi)) {}
12// CHECK: define{{.*}}win64cc{{.*}}Test test2
13@end
14