For PR761:
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
1 ; RUN: llvm-as 2>&1 < %s -o /dev/null -f | \
2 ; RUN:    grep "LLVM functions cannot return aggregate types"
3
4 define void @test() {
5         call {} @foo()
6         ret void
7 }
8
9 declare {} @foo()