Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr32041.c
blob: 60837b204366910eee91e5d07b3d74e12509e6d8 [
file
] [
log
] [
blame
]
/* PR c/32041 */
/* { dg-do compile } */
struct
S
{
int
c
;
struct
{
float
f
;
}
sa
[
2
];
};
char
a
[
__builtin_offsetof
(
struct
S
,
sa
->
f
)
==
__builtin_offsetof
(
struct
S
,
sa
[
0
].
f
)
?
1
:
-
1
];