Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
3641e811729fc7f21039af595d62bc8e696ff407
/
.
/
test
/
FrontendC
/
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
;
}