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