diff options
author | John McCall <rjmccall@apple.com> | 2010-10-09 02:28:39 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-10-09 02:28:39 +0000 |
commit | 90fb58e9f5482d2be61c4acfedf4fa69585c8ac1 (patch) | |
tree | 0dbda82a83adace4f79b94a3b020689bb83c87c8 /test/CodeGenCXX/const-init.cpp | |
parent | 189d6ef40eff11b83b2cda941d5ed89a5cef09b2 (diff) |
Secure this test against slightly different number formatters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/const-init.cpp')
-rw-r--r-- | test/CodeGenCXX/const-init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/const-init.cpp b/test/CodeGenCXX/const-init.cpp index d206b64951..a8c6f30498 100644 --- a/test/CodeGenCXX/const-init.cpp +++ b/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 }; } |