1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fvisibility hidden -emit-llvm -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc// CHECK: @"OBJC_IVAR_$_I.P" = hidden 3*f4a2713aSLionel Sambuc// CHECK: @"OBJC_CLASS_$_I" = hidden 4*f4a2713aSLionel Sambuc// CHECK: @"OBJC_METACLASS_$_I" = hidden 5*f4a2713aSLionel Sambuc// CHECK: @"\01l_OBJC_PROTOCOL_$_Prot0" = weak hidden 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc@interface I { 8*f4a2713aSLionel Sambuc int P; 9*f4a2713aSLionel Sambuc} 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc@property int P; 12*f4a2713aSLionel Sambuc@end 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc@implementation I 15*f4a2713aSLionel Sambuc@synthesize P; 16*f4a2713aSLionel Sambuc@end 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc 19*f4a2713aSLionel Sambuc@protocol Prot0; 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambucid f0() { 22*f4a2713aSLionel Sambuc return @protocol(Prot0); 23*f4a2713aSLionel Sambuc} 24*f4a2713aSLionel Sambuc 25*f4a2713aSLionel Sambuc 26