Sign in
gnu
/
gcc
/
61351ab96a4dfa0884c8b1a53342b97915fb5dd7
/
.
/
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
];