• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -fvisibility hidden -emit-llvm -o - %s | FileCheck %s
2// 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
26