llvm-6502/test/Transforms/GlobalOpt/deadglobal.llx

9 lines
147 B
Plaintext
Raw Normal View History

; 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
}