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

10 lines
177 B
LLVM
Raw Normal View History

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