xref: /llvm-project/llvm/test/Transforms/ADCE/dce_pure_call.ll (revision 563cf93776e7100aabe6d91afdcd7e7405ee7338)
1; RUN: opt -passes=adce -S < %s | not grep call
2
3declare i32 @strlen(ptr) readonly nounwind willreturn
4
5define void @test() {
6	call i32 @strlen( ptr null )		; <i32>:1 [#uses=0]
7	ret void
8}
9