Sign in
llvm
/
llvm
/
8924ea3d57d5fdfc11ce7562c3eaf0ce127ebc86
/
.
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob: 9bbc275ae7d73204b6d2f4adc9c4ac385cf1081f [
file
] [
log
] [
blame
]
; RUN: opt < %s -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
}