llvm-6502/test/Assembler/2005-01-31-CallingAggregateFunction.ll
2007-12-11 15:50:23 +00:00

10 lines
177 B
LLVM

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