llvm-6502/test/Assembler/2005-01-31-CallingAggregateFunction.ll

9 lines
153 B
LLVM
Raw Normal View History

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