Enhance this to check for a crash, add a case that crashes simplifylibcalls,
[oota-llvm.git] / test / Assembler / 2005-01-31-CallingAggregateFunction.ll
1 ; RUN: llvm-as %s -o /dev/null 2>&1 | grep "LLVM functions cannot return aggregate types"
2
3 void %test() {
4         call {} %foo()
5         ret void
6 }
7
8 declare {} %foo()