Fix test.
[oota-llvm.git] / test / Transforms / SRETPromotion / 2008-06-05-non-call-use.ll
index e4ea12423fb17f8288728b2ceae6996d90e181b5..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: opt %s -sretpromotion | llvm-dis | grep sret
+; RUN: opt < %s -sretpromotion -S | grep sret
 
 %struct.S = type <{ i32, i32 }>