Sign in
chromium
/
external
/
github.com
/
llvm-mirror
/
llvm
/
ca8f1a2a4a6df2688cc29c26977fe90b7d615c4e
/
.
/
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
;
}