Allow aliases to be unnamed.
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index c9252147fb38bc37e638e07d0599af7b921f6bbe..a5a917d08abaadd70880b15b5e559de9f6ba3791 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: ignore llvm-as < %s -o /dev/null -f |& \
-; RUN:    grep "LLVM functions cannot return aggregate types"
+; RUN: llvm-as %s -o /dev/null
+; RUN: verify-uselistorder %s
 
 define void @test() {
-       call {} @foo()
+       call {i32} @foo()
        ret void
 }
 
-declare {} @foo()
+declare {i32 } @foo()