-; 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()