summaryrefslogtreecommitdiff
path: root/test/Verifier/2002-11-05-GetelementptrPointers.ll
blob: 067623c5ba0c97c3df157ae87f45200a183545b4 (plain)
1
2
3
4
5
6
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
}