1 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fobjc-runtime=gnustep-1.9 -emit-llvm -o - %s | FileCheck %s
5 __attribute__((objc_root_class))
13 // CHECK: @.objc_protocol_list = internal global { ptr, i32, [0 x ptr] } zeroinitializer, align 4
14 // CHECK: @.objc_method_list = internal global { i32, [0 x { ptr, ptr }] } zeroinitializer, align 4
15 // CHECK: @.objc_protocol_name = private unnamed_addr constant [2 x i8] c"X\00", align 1
16 // CHECK: @._OBJC_PROTOCOL_X = internal global { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } {
17 // CHECK-SAME: ptr inttoptr (i32 3 to ptr),
18 // CHECK-SAME: ptr @.objc_protocol_name,
19 // CHECK-SAME: ptr @.objc_protocol_list
20 // CHECK-SAME: ptr @.objc_method_list
21 // CHECK-SAME: ptr @.objc_method_list
22 // CHECK-SAME: ptr @.objc_method_list
23 // CHECK-SAME: ptr @.objc_method_list
24 // CHECK-SAME: ptr null
25 // CHECK-SAME: ptr null
26 // CHECK-SAME: }, align 4