For PR1336:
[oota-llvm.git] / test / Transforms / GlobalDCE / 2002-08-17-FunctionDGE.ll
index 57ed72a93dcd95bcb2523476d9aff2f013022327..7a2202598482c97eb31619dfee250538e60cdf0e 100644 (file)
@@ -1,10 +1,8 @@
 ; Make sure that functions are removed successfully if they are referred to by
 ; a global that is dead.  Make sure any globals they refer to die as well.
 
-; RUN: if as < %s | opt -globaldce | dis | grep foo
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep foo
+; XFAIL: *
 
 %b = internal global int ()* %foo   ;; Unused, kills %foo