relax this test to just check that the lock prefix is encoded properly,
[oota-llvm.git] / test / FrontendC++ / 2009-07-15-LineNumbers.cpp
index 21e096c447b7e807b820eee1d222f8e6157d5023..e1cc81f40f79d80521e402108c9c09e4f2454487 100644 (file)
@@ -1,7 +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 -O0 -relocation-model=pic | grep {# SrcLine 25}
+// 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>