mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5394837fe
commit
eabb4950bd
13
test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
Normal file
13
test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user