1 // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
3 // CHECK: @a = global i32 10
5 // CHECK: @ar = constant i32* @a
9 // CHECK: @fr = constant void ()* @_Z1fv
13 // CHECK: @s = global %0 { i32* @a }
24 // CHECK: @_ZN6PR55812g0E = global %1 { i32 1 }
30 static const double d
= 1.0;
31 static const float f
= d
/ 2;
34 // CHECK: @_ZN5test22t0E = global double {{1\.0+e\+0+}}, align 8
35 // CHECK: @_ZN5test22t1E = global [2 x double] [double {{1\.0+e\+0+}}, double {{5\.0+e-0*}}1], align 16
37 double t1
[] = { A::d
, A::f
};