2013-11-19 12:08:34 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
|
|
|
|
|
|
|
@interface Test
|
|
|
|
- (void)test;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation Test
|
2013-12-19 00:23:37 +08:00
|
|
|
- (void)test __attribute__((stdcall)) {}
|
2013-11-19 12:08:34 +08:00
|
|
|
// CHECK: define{{.*}}x86_stdcallcc{{.*}}Test test
|
2013-12-19 00:23:37 +08:00
|
|
|
|
|
|
|
- (void)test2 __attribute__((ms_abi)) {}
|
2017-07-18 04:05:56 +08:00
|
|
|
// CHECK: define{{.*}}win64cc{{.*}}Test test2
|
2013-11-19 12:08:34 +08:00
|
|
|
@end
|