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

10 lines
177 B
LLVM
Raw Normal View History

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