this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index a5de2bace9646aa24fb8805fdf7fdb3a0621c80e..9fb805498cbb76f1ab91098ae74f44791c6c4c60 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: not 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()