blob: 9f5071d5ffaa97fc63136fbcae23c9eba2715da6 [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -fvisibility hidden -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