Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
86ec7d1d073dae5b75ad5749f65fc54c141180f5
/
.
/
test
/
CFrontend
/
2005-03-06-OffsetOfStructCrash.c
blob: 91e686280233fa611cbcf6782f481309ed103d87 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o -
struct
Y
{};
struct
XXX
{
struct
Y F
;
};
void
test1
()
{
(
int
)&((
struct
XXX
*)(((
void
*)
0
)))->
F
;
}
void
test2
()
{
&((
struct
XXX
*)(((
void
*)
0
)))->
F
;
}