llvm-6502/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
2003-09-16 15:29:54 +00:00

11 lines
193 B
LLVM

; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep '%X'
%G = uninitialized global [40x int]
implementation
int* %test() {
%X = getelementptr [40x int]* %G, uint 0, uint 0
ret int* %X
}