WinCOFF: Add support for -fdata-sections
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
index 0f8bab4a06238fdffbc65c3cca3c50a39c7be20a..ce769a2e9d7bfcc5270811cc8a97de0a2a2b7b62 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llvm-as %s -o /dev/null 2>&1 | grep "LLVM functions cannot return aggregate types"
+; RUN: llvm-as %s -o /dev/null
 
-void %test() {
-       call {} %foo()
+define void @test() {
+       call {i32} @foo()
        ret void
 }
 
-declare {} %foo()
+declare {i32 } @foo()