llvm-6502/test/Verifier/2002-11-05-GetelementptrPointers.ll
Chris Lattner 5051e9cb23 New testcase to handle eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4558 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 00:52:21 +00:00

8 lines
208 B
LLVM

; This testcase is invalid because we are indexing into a pointer that is
; contained WITHIN a structure.
void %test({int, int*} * %X) {
getelementptr {int, int*} * %X, long 0, ubyte 1, long 0
ret void
}