Sign in
ara-mdk
/
platform
/
external
/
llvm
/
770772e831d1ff1dfbc0e94fb3212437e597d7a5
/
.
/
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
;
}