blob: c3c5d70a721bfaace234715230c810877ca0a8d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: if as < %s | opt -sccp | dis | grep '%X'
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
%G = uninitialized global [40x int]
implementation
int* %test() {
%X = getelementptr [40x int]* %G, uint 0, uint 0
ret int* %X
}
|