summaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/deadglobal.llx
blob: c0819c0c6480315ab98532f39ec2cfe2b62a7410 (plain)
1
2
3
4
5
6
7
8
; 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
}