Consolidate some of the lit tests.
[oota-llvm.git] / test / Transforms / GlobalDCE / basicvariabletest.ll
index a3d65c79f4b3ad408f60a4ebb318ad68f60ad0ba..a97b66de2c63409131569b437f17cc4c84173202 100644 (file)
@@ -1,9 +1,5 @@
-; RUN: if as < %s | opt -globaldce | dis | grep global
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: opt < %s -globaldce -S | not grep global
 
-
-%X = uninitialized global int
-%Y = internal global int 7
+@X = external global i32
+@Y = internal global i32 7