Add an explicit triple to the big-endian tests so that the assembly
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index a5de2bace9646aa24fb8805fdf7fdb3a0621c80e..366bd7326d310739ebf840f95f37d084919fce7f 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types"
+; RUN: ignore llvm-as < %s -o /dev/null -f |& \
+; RUN:    grep {LLVM functions cannot return aggregate types}
 
-void %test() {
-       call {} %foo()
+define void @test() {
+       call {} @foo()
        ret void
 }
 
-declare {} %foo()
+declare {} @foo()