-; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 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 {} @foo()
ret void
}
-declare {} %foo()
+declare {} @foo()