Use llvm-upgrade these tests as they all use old assembly.
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
1 ; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types"
2
3 void %test() {
4         call {} %foo()
5         ret void
6 }
7
8 declare {} %foo()