New testcase to handle eventually

llvm-svn: 4558
This commit is contained in:
Chris Lattner 2002-11-06 00:52:21 +00:00
parent a281003e5e
commit e6a2968a5f
1 changed files with 7 additions and 0 deletions

View File

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