aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/basictest.llx
blob: 46fac76433b3320360243caac343a7885614b714 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global

%X = internal global int 4


int %foo() {
	%V = load int* %X
	ret int %V
}