// RUN: %clang_cc1 -no-opaque-pointers -triple i686-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s
// RUN: FileCheck < %t %s
//
// CHECK: @OBJC_METH_VAR_TYPE_{{.*}} = private unnamed_addr constant [16 x i8] c"v12@0:4[3[4@]]8\00"
@class Int1;
;
;
typedef Object MyObj;
int
// CHECK: @g0 ={{.*}} constant [15 x i8] c"{Innermost=CC}\00"
const char g0 = @encode;
// CHECK: @g1 ={{.*}} constant [38 x i8] c"{Derived=#ib32b8b3b8sb16b8b8b2b8ccb6}\00"
const char g1 = @encode;
// CHECK: @g2 ={{.*}} constant [9 x i8] c"{B1=#@c}\00"
const char g2 = @encode;
// CHECK: @g3 ={{.*}} constant [8 x i8] c"r^{S=i}\00"
const char g3 = @encode;
// CHECK: @g4 ={{.*}} constant [6 x i8] c"{S=i}\00"
const char g4 = @encode;
// CHECK: @g5 ={{.*}} constant [2 x i8] c"@\00"
const char g5 = @encode;
////
;
// CHECK: @g6 ={{.*}} constant [18 x i8] c"{Base1X=b2b3b4b5}\00"
const char g6 = @encode;
// CHECK: @g7 ={{.*}} constant [27 x i8] c"{Derived1X=b2b3b4b5b5b4b3}\00"
const char g7 = @encode;
// CHECK: @g8 ={{.*}} constant [7 x i8] c"{s8=D}\00"
;
const char g8 = @encode;
// CHECK: @g9 ={{.*}} constant [11 x i8] c"{S9=i[0i]}\00"
;
const char g9 = @encode;
;
// CHECK: @g10 ={{.*}} constant [14 x i8] c"{f=i[4{?=}]i}\00"
const char g10 = @encode;
// rdar://9622422
// CHECK: @g11 ={{.*}} constant [2 x i8] c"v\00"
const char g11 = @encode;
// PR14628
// CHECK: @g12 ={{.*}} constant [3 x i8] c"Ai\00"
const char g12 = @encode;
// rdar://15824769
id test_id = 0;
Class test_class = 0;
const char g13 = @encode;
const char g14 = @encode;
// CHECK: constant [14 x i8] c"{objc_class=}\00"
// CHECK: constant [15 x i8] c"{objc_object=}\00"
// CHECK: @g15 ={{.*}} constant [2 x i8] c":\00"
const char g15 = @encode;
typedef size_t;
size_t ;
// CHECK-LABEL: @test_strlen(
// CHECK: %[[i:.*]] = alloca i32
// CHECK: %[[call:.*]] = call i32 @strlen
// CHECK: store i32 %[[call]], i32* %[[i]]
void