Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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__
]);
}