New testcase

llvm-svn: 3554
This commit is contained in:
Chris Lattner 2002-08-30 23:22:15 +00:00
parent 3f5b42697c
commit 7495a9b13a
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,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
}