When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / Transforms / ADCE / dce_pure_call.ll
blob66483abbc919e653c474eae29a6f126e45d80775
1 ; RUN: opt -adce -S < %s | not grep call
3 declare i32 @strlen(i8*) readonly nounwind
5 define void @test() {
6         call i32 @strlen( i8* null )            ; <i32>:1 [#uses=0]
7         ret void