mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
d1af08c3d6
This is an attempt to fix the buildbot that started failing after r270808. http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/13141 llvm-svn: 270817
62 lines
1.8 KiB
Objective-C
62 lines
1.8 KiB
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -ast-dump "%s" | FileCheck %s
|
|
|
|
// CHECK: TypedefDecl {{.*}} referenced AtomicBool '_Atomic(_Bool)'
|
|
// CHECK: AtomicType {{.*}} '_Atomic(_Bool)'
|
|
// CHECK: BuiltinType {{.*}} '_Bool'
|
|
// CHECK: ObjCInterfaceDecl {{.*}} A0
|
|
// CHECK: ObjCPropertyDecl {{.*}} p '_Atomic(_Bool)' {{.*}} nonatomic
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void'
|
|
// CHECK: ParmVarDecl {{.*}} p '_Bool'
|
|
// CHECK: ObjCInterfaceDecl {{.*}} A1
|
|
// CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' {{.*}} nonatomic
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void'
|
|
// CHECK: ParmVarDecl {{.*}} p '_Bool'
|
|
// CHECK: ObjCInterfaceDecl {{.*}} A2
|
|
// CHECK: ObjCIvarDecl {{.*}} p '_Atomic(_Bool)' protected
|
|
// CHECK: ObjCPropertyDecl {{.*}} p '_Atomic(_Bool)'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void'
|
|
// CHECK: ParmVarDecl {{.*}} p '_Bool'
|
|
// CHECK: ObjCInterfaceDecl {{.*}} A3
|
|
// CHECK: ObjCIvarDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' protected
|
|
// CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool'
|
|
// CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void'
|
|
// CHECK: ParmVarDecl {{.*}} p '_Bool'
|
|
|
|
typedef _Atomic(_Bool) AtomicBool;
|
|
|
|
@interface A0
|
|
@property(nonatomic) _Atomic(_Bool) p;
|
|
@end
|
|
@implementation A0
|
|
@end
|
|
|
|
@interface A1
|
|
@property(nonatomic) AtomicBool p;
|
|
@end
|
|
@implementation A1
|
|
@end
|
|
|
|
@interface A2 {
|
|
_Atomic(_Bool) p;
|
|
}
|
|
@property _Atomic(_Bool) p;
|
|
@end
|
|
|
|
@implementation A2
|
|
@synthesize p;
|
|
@end
|
|
|
|
@interface A3 {
|
|
AtomicBool p;
|
|
}
|
|
@property AtomicBool p;
|
|
@end
|
|
|
|
@implementation A3
|
|
@synthesize p;
|
|
@end
|