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__]);
}