Sign in
cobalt
/
cobalt
/
4a6dd9fddae25369d7353255865e6f226eeb4962
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
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
}