summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-10-09 02:28:39 +0000
committerJohn McCall <rjmccall@apple.com>2010-10-09 02:28:39 +0000
commitc8fd6a48cfc0c4f5176ef64d18c36edf41c5221d (patch)
tree4d572c9c6614c0541b21757aabc91d572ec02bd2
parenta762400bedfafa5c7c5acaf1543f001e4648d43d (diff)
downloadbcm5719-llvm-c8fd6a48cfc0c4f5176ef64d18c36edf41c5221d.tar.gz
bcm5719-llvm-c8fd6a48cfc0c4f5176ef64d18c36edf41c5221d.zip
Secure this test against slightly different number formatters.
llvm-svn: 116141
-rw-r--r--clang/test/CodeGenCXX/const-init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/const-init.cpp b/clang/test/CodeGenCXX/const-init.cpp
index d206b649519..a8c6f304980 100644
--- a/clang/test/CodeGenCXX/const-init.cpp
+++ b/clang/test/CodeGenCXX/const-init.cpp
@@ -31,8 +31,8 @@ namespace test2 {
static const float f = d / 2;
};
- // CHECK: @_ZN5test22t0E = global double 1.000000e+00, align 8
- // CHECK: @_ZN5test22t1E = global [2 x double] [double 1.000000e+00, double 5.000000e-01], align 16
+ // CHECK: @_ZN5test22t0E = global double {{1\.0+e\+0+}}, align 8
+ // CHECK: @_ZN5test22t1E = global [2 x double] [double {{1\.0+e\+0+}}, double {{5\.0+e-0*}}1], align 16
double t0 = A::d;
double t1[] = { A::d, A::f };
}
OpenPOWER on IntegriCloud