Replace all instances of dg.exp file with lit.local.cfg, since all tests are run...
[oota-llvm.git] / test / Transforms / SCCP / 2006-12-19-UndefBug.ll
index 3cc61f716b4ddcfcff682c9473a5744ee88fa96e..ec69ce05fe940367cd06a2bec2398183105f3d77 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | \
+; RUN: opt < %s -sccp -S | \
 ; RUN:   grep {ret i1 false}
 
-bool %foo() {
-       %X = and bool false, undef
-       ret bool %X
+define i1 @foo() {
+       %X = and i1 false, undef                ; <i1> [#uses=1]
+       ret i1 %X
 }
+