llvm-6502/test/Assembler/2005-01-31-CallingAggregateFunction.ll
2005-02-01 01:44:54 +00:00

9 lines
153 B
LLVM

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