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 | 50c9d08fa533b51e8dd36644b686d726c98d9482 (patch) | |
tree | baef4dc51147ce326412c6e8ac84ce89f193d77c /clang/test/CodeGenCXX/const-init.cpp | |
parent | eb90e830850eca0c71886ad64ff2a7d0ff492ddb (diff) | |
download | bcm5719-llvm-50c9d08fa533b51e8dd36644b686d726c98d9482.tar.gz bcm5719-llvm-50c9d08fa533b51e8dd36644b686d726c98d9482.zip |
Fix test on Release builds.
llvm-svn: 147565
Diffstat (limited to 'clang/test/CodeGenCXX/const-init.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/const-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/const-init.cpp b/clang/test/CodeGenCXX/const-init.cpp index 6fabfc762ef..1cfcdba22f8 100644 --- a/clang/test/CodeGenCXX/const-init.cpp +++ b/clang/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;} |