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

9 lines
171 B
LLVM
Raw Normal View History

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