Tighten the conditions under which we do PRE, remove some unneeded code, and correct...
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index 7eff6343f28f1ef6758257a1efbc022b8fa6ffaa..14045138f811e04975f073e85cd943ae6833d0d1 100644 (file)
@@ -1,9 +1,8 @@
-; RUN: llvm-as 2>&1 < %s -o /dev/null -f | \
-; RUN:    grep "LLVM functions cannot return aggregate types"
+; RUN: llvm-as %s -o /dev/null -f 
 
 define void @test() {
-       call {} @foo()
+       call {i32} @foo()
        ret void
 }
 
-declare {} @foo()
+declare {i32 } @foo()