llvm-mirror/test/Assembler/2006-05-26-VarargsCallEncode.ll
2007-01-29 05:40:02 +00:00

10 lines
218 B
LLVM

; 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
}