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

10 lines
180 B
LLVM
Raw Normal View History

; RUN: ignore llvm-as < %s -o /dev/null -f |& \
; RUN: grep "LLVM functions cannot return aggregate types"
define void @test() {
call {} @foo()
ret void
}
declare {} @foo()