Fix test.
[oota-llvm.git] / test / Transforms / SRETPromotion / 2008-06-05-non-call-use.ll
index 10f92efc8654f081bd0e0ab43894b2d3e695f125..26c6a6e5077b516e5ba88b14a9623fd95dd1ec09 100644 (file)
@@ -4,7 +4,7 @@
 
 ; We're mainly testing for opt not to crash, but we'll check to see if the sret
 ; attribute is still there for good measure.
-; RUN: llvm-as < %s | opt -sretpromotion | llvm-dis | grep sret
+; RUN: opt < %s -sretpromotion -S | grep sret
 
 %struct.S = type <{ i32, i32 }>