You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
337 B

// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
@interface Test
- (void)test;
@end
@implementation Test
- (void)test __attribute__((stdcall)) {}
// CHECK: define{{.*}}x86_stdcallcc{{.*}}Test test
- (void)test2 __attribute__((ms_abi)) {}
// CHECK: define{{.*}}win64cc{{.*}}Test test2
@end