aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2006-05-26-VarargsCallEncode.ll
blob: e5de6de5f8bf6707170c2d5981eddcae8bd09fc2 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
; RUN:    grep 'tail call void ({  }\* sret'

declare csretcc void %foo({}*, ...)

void %bar() {
  tail call csretcc void({}*, ...)* %foo({}* null, int 0)
  ret void
}