1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/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
}