diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-01-04 23:41:09 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-01-04 23:41:09 +0000 |
commit | 0ad93a3943394e1ccd017ef587a2c20f109288b1 (patch) | |
tree | 23e6c012955b1beab2aa464109309f0670edee59 /test/CodeGenCXX/const-init.cpp | |
parent | b7a7819473709c01ea024a2dc15e99d38f0f8760 (diff) |
Fix test on Release builds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/const-init.cpp')
-rw-r--r-- | test/CodeGenCXX/const-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/const-init.cpp b/test/CodeGenCXX/const-init.cpp index 6fabfc762e..1cfcdba22f 100644 --- a/test/CodeGenCXX/const-init.cpp +++ b/test/CodeGenCXX/const-init.cpp @@ -67,5 +67,5 @@ __int128_t PR11705 = (__int128_t)&PR11705; void UnfoldableAddrLabelDiff() { static __int128_t x = (long)&&a-(long)&&b; a:b:return;} // But make sure we do fold this. -// CHECK: @_ZZ21FoldableAddrLabelDiffvE1x = internal global i64 sub (i64 ptrtoint (i8* blockaddress(@_Z21FoldableAddrLabelDiffv, %a) +// CHECK: @_ZZ21FoldableAddrLabelDiffvE1x = internal global i64 sub (i64 ptrtoint (i8* blockaddress(@_Z21FoldableAddrLabelDiffv void FoldableAddrLabelDiff() { static long x = (long)&&a-(long)&&b; a:b:return;} |