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 0f8bab4a06238fdffbc65c3cca3c50a39c7be20a..14045138f811e04975f073e85cd943ae6833d0d1 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llvm-as %s -o /dev/null 2>&1 | grep "LLVM functions cannot return aggregate types"
+; RUN: llvm-as %s -o /dev/null -f 
 
-void %test() {
-       call {} %foo()
+define void @test() {
+       call {i32} @foo()
        ret void
 }
 
-declare {} %foo()
+declare {i32 } @foo()