llvm-mirror/test/Regression/Verifier/2002-11-05-GetelementptrPointers.ll
Chris Lattner d1de2510fc New testcase to handle eventually
llvm-svn: 4558
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
}