1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/ADCE/dce_pure_call.ll
Chris Lattner ef93b4f931 New testcases
llvm-svn: 12806
2004-04-10 06:52:20 +00:00

10 lines
180 B
LLVM

; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
declare int %strlen(sbyte*)
void %test() {
;; Dead call should be deleted!
call int %strlen(sbyte *null)
ret void
}