1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-16 16:31:04 +00:00
2006-12-02 04:23:10 +00:00

10 lines
195 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}