llvm-6502/test/Transforms/GlobalOpt/deadglobal.llx
2006-12-02 04:23:10 +00:00

9 lines
162 B
Plaintext

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