1 // RUN: %clang_cc1 -S -emit-llvm -fobjc-runtime=gcc -o - %s | FileCheck %s
7 struct objc_object *isa;
13 @interface NSString : NSObject <NSCopying>
17 @interface TestClass : NSObject {
19 NSString *_stringIvar;
23 @implementation TestClass
28 TestClass *c = [TestClass new];
32 // CHECK: = private unnamed_addr constant [12 x i8] c"_stringIvar\00"
33 // CHECK: = private unnamed_addr constant [12 x i8] c"@\22NSString\22\00"
34 // CHECK: = private unnamed_addr constant [9 x i8] c"_intIvar\00"
35 // CHECK: = private unnamed_addr constant [2 x i8] c"i\00"
45 @implementation Class1
48 // CHECK: @{{.*}} = private unnamed_addr constant [5 x i8] c"b0i3\00"
49 // CHECK: @{{.*}} = private unnamed_addr constant [5 x i8] c"b3s2\00"
50 // CHECK: @{{.*}} = private unnamed_addr constant [2 x i8] c"q\00"
51 // CHECK: @{{.*}} = private unnamed_addr constant [{{7|6}} x i8] c"b{{128|96}}c1\00"