aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2005-01-31-CallingAggregateFunction.ll
blob: 7eff6343f28f1ef6758257a1efbc022b8fa6ffaa (plain)
1
2
3
4
5
6
7
8
9
; 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()