1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/Regression/Verifier/2002-11-05-GetelementptrPointers.ll
Tanya Lattner 15bbdb9904 Adding RUN lines.
llvm-svn: 17533
2004-11-06 23:08:26 +00:00

10 lines
247 B
LLVM

; RUN: not llvm-as -f %s -o /dev/null
; 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
}