blob: e265e6f754e8b126de721a1b156390b98a07a03f [file] [log] [blame]
Fariborz Jahanian8604fae2009-12-14 17:13:18 +00001// RUN: clang -cc1 -fvisibility hidden -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
Daniel Dunbar33326462009-11-17 10:04:28 +00002// CHECK: @"OBJC_IVAR_$_I.P" = hidden
3// CHECK: @"OBJC_CLASS_$_I" = hidden
4// CHECK: @"OBJC_METACLASS_$_I" = hidden
5// CHECK: @"\01l_OBJC_PROTOCOL_$_Prot0" = weak hidden
6
7@interface I {
8 int P;
9}
10
11@property int P;
12@end
13
14@implementation I
15@synthesize P;
16@end
17
18
19@protocol Prot0;
20
21id f0() {
22 return @protocol(Prot0);
23}
24
25