hanchenye-llvm-project/llvm/test/Regression/Assembler/2005-01-31-CallingAggregate...

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()