Copy-pastos.
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index 9fb805498cbb76f1ab91098ae74f44791c6c4c60..ce769a2e9d7bfcc5270811cc8a97de0a2a2b7b62 100644 (file)
@@ -1,9 +1,8 @@
-; RUN: not llvm-as < %s -o /dev/null -f |& \
-; RUN:    grep {LLVM functions cannot return aggregate types}
+; RUN: llvm-as %s -o /dev/null
 
 define void @test() {
-       call {} @foo()
+       call {i32} @foo()
        ret void
 }
 
-declare {} @foo()
+declare {i32 } @foo()