1 // RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
11 static int is
[] = { 1, 2, 3, 4 };
12 static char* str
= "forty-two";
13 static char* strs
[] = { "one", "two", "three", "four" };
14 static struct AStruct myStruct
= { 1, "two", 3.0 };
17 // CHECK: @g.b = internal global ptr @g.a
23 struct s
{ void *p
; };
26 static struct s var
= {((void*)&((char*)0)[0])};
29 // CHECK: @f1.l0 = internal global i32 ptrtoint (ptr @f1 to i32)
30 int f1(void) { static int l0
= (unsigned) f1
; }