Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
cbdf0e2455d78b047aec4141ec84cf96095bee16
/
.
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob: 2a09b76c35b4834e4e8fae2e3eeb599ef04b4f88 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | 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
}