From 50c9d08fa533b51e8dd36644b686d726c98d9482 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 4 Jan 2012 23:41:09 +0000 Subject: Fix test on Release builds. llvm-svn: 147565 --- clang/test/CodeGenCXX/const-init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/CodeGenCXX/const-init.cpp') 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;} -- cgit v1.2.3