Make the ptrtoint comparison simplification work if one side is a global.
[oota-llvm.git] / test / FrontendC++ / 2009-07-15-LineNumbers.cpp
index 6030c172acf155d9b04d37cd0d1e1fc03dea6454..a8eda77e4a72d70de4d0a2b70fbf89ea55a7ad4b 100644 (file)
@@ -1,8 +1,7 @@
 // This is a regression test on debug info to make sure that we can
 // print line numbers in asm.
-// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
-// RUN:    llc --disable-fp-elim -f -O0 -relocation-model=pic | grep {# SrcLine 25}
-// XFAIL: *
+// RUN: %llvmgcc -S -O0 -g %s -o - | \
+// RUN:    llc --disable-fp-elim -O0 -relocation-model=pic | grep { 2009-07-15-LineNumbers.cpp:25$}
 
 #include <stdlib.h>