llvm-6502/test/Transforms/GlobalOpt/deadglobal.llx
2008-03-01 09:15:35 +00:00

10 lines
199 B
Plaintext

; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep internal
@G = internal global i32 123 ; <i32*> [#uses=1]
define void @foo() {
store i32 1, i32* @G
ret void
}