Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
f20856db3508126ebe921957fef121e0c41fe74d
/
.
/
test
/
Verifier
/
2002-11-05-GetelementptrPointers.ll
blob: db3f766a73ee37a09d40e8ef4c7e7f813a1f00ad [
file
] [
log
] [
blame
]
; 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
}