Sign in
swiftshader
/
SwiftShader
/
refs/heads/llvm7_fixes
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob: d4edce9baf655b78e1301c2af280d77e6606f464 [
file
] [
log
] [
blame
] [
edit
]
; 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
}