From 0ad93a3943394e1ccd017ef587a2c20f109288b1 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 4 Jan 2012 23:41:09 +0000 Subject: [PATCH] Fix test on Release builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147565 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/const-init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;}