-; RUN: llvm-as %s -o /dev/null 2>&1 | grep "LLVM functions cannot return aggregate types"
+; RUN: llvm-as %s -o /dev/null
+; RUN: verify-uselistorder %s
-void %test() {
- call {} %foo()
+define void @test() {
+ call {i32} @foo()
ret void
}
-declare {} %foo()
+declare {i32 } @foo()