llvm-6502/test/Transforms/GlobalOpt/deadglobal.llx
2004-10-07 19:16:26 +00:00

9 lines
147 B
Plaintext

; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep internal
%G = internal global int 123
void %foo() {
store int 1, int* %G
ret void
}