diff options
Diffstat (limited to 'test/CodeGen/decl.c')
| -rw-r--r-- | test/CodeGen/decl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/decl.c b/test/CodeGen/decl.c index 2065e3364bcd..d62629c7fb5c 100644 --- a/test/CodeGen/decl.c +++ b/test/CodeGen/decl.c @@ -1,13 +1,13 @@ -// RUN: %clang_cc1 -w -emit-llvm < %s | FileCheck %s +// RUN: %clang_cc1 -w -fmerge-all-constants -emit-llvm < %s | FileCheck %s // CHECK: @test1.x = internal constant [12 x i32] [i32 1 // CHECK: @test2.x = private unnamed_addr constant [13 x i32] [i32 1, -// CHECK: @test5w = global { i32, [4 x i8] } { i32 2, [4 x i8] undef } -// CHECK: @test5y = global { double } { double 7.300000e+0{{[0]*}}1 } +// CHECK: @test5w = {{(dso_local )?}}global { i32, [4 x i8] } { i32 2, [4 x i8] undef } +// CHECK: @test5y = {{(dso_local )?}}global { double } { double 7.300000e+0{{[0]*}}1 } // CHECK: @test6.x = private unnamed_addr constant %struct.SelectDest { i8 1, i8 2, i32 3, i32 0 } -// CHECK: @test7 = global [2 x %struct.test7s] [%struct.test7s { i32 1, i32 2 }, %struct.test7s { i32 4, i32 0 }] +// CHECK: @test7 = {{(dso_local )?}}global [2 x %struct.test7s] [%struct.test7s { i32 1, i32 2 }, %struct.test7s { i32 4, i32 0 }] void test1() { // This should codegen as a "@test1.x" global. |
