Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob: 563f7081bbe4ae7f7fe393b496e79b390ddbfcb2 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=deadargelim -S | not grep "ret i32 0"
; PR1735
define
internal
i32
@test
(
i32
%A
,
...
)
{
ret
i32
%A
}
define
i32
@foo
()
{
%A
=
call
i32
(
i32
,
...
)
@test
(
i32
1
)
ret
i32
%A
}