X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2005-01-31-CallingAggregateFunction.ll;h=ce769a2e9d7bfcc5270811cc8a97de0a2a2b7b62;hb=4fd5cd06c815724fa410c0bea276d919dea868c3;hp=0f8bab4a06238fdffbc65c3cca3c50a39c7be20a;hpb=70dd7709e5ca1d8771a3709c7bbab7c7ac2e638d;p=oota-llvm.git diff --git a/test/Assembler/2005-01-31-CallingAggregateFunction.ll b/test/Assembler/2005-01-31-CallingAggregateFunction.ll index 0f8bab4a062..ce769a2e9d7 100644 --- a/test/Assembler/2005-01-31-CallingAggregateFunction.ll +++ b/test/Assembler/2005-01-31-CallingAggregateFunction.ll @@ -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()