Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr82872.c
blob: 745d6225585de7f63127f88dea393cf58a892e58 [
file
] [
log
] [
blame
]
/* PR c++/82872 */
/* { dg-do compile } */
#include
<stddef.h>
struct
S
{
int
i
,
a
[
1
];
};
size_t
foo
(
void
)
{
return
offsetof
(
struct
S
,
a
[
__PTRDIFF_MAX__
]);
}