test for something more interesting than not crashing
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index a5de2bace9646aa24fb8805fdf7fdb3a0621c80e..e6baf34a6c74b8f95eb0e4a854020fdacea341f6 100644 (file)
@@ -1,8 +1,8 @@
-; 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()