llvm-6502/test/Assembler/2005-01-31-CallingAggregateFunction.ll
2006-12-02 20:34:08 +00:00

9 lines
171 B
LLVM

; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types"
void %test() {
call {} %foo()
ret void
}
declare {} %foo()