Fix test on Release builds.

llvm-svn: 147565
This commit is contained in:
Eli Friedman 2012-01-04 23:41:09 +00:00
parent eb90e83085
commit 50c9d08fa5
1 changed files with 1 additions and 1 deletions

View File

@ -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;}