aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2005-01-31-CallingAggregateFunction.ll
blob: a5de2bace9646aa24fb8805fdf7fdb3a0621c80e (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep "LLVM functions cannot return aggregate types"

void %test() {
	call {} %foo()
	ret void
}

declare {} %foo()