1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
2007-01-17 07:59:14 +00:00

11 lines
208 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}