(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
pr82872.c
       1  /* PR c++/82872 */
       2  /* { dg-do compile } */
       3  
       4  #include <stddef.h>
       5  
       6  struct S { int i, a[1]; };
       7  
       8  size_t foo (void)
       9  {
      10    return offsetof (struct S, a[__PTRDIFF_MAX__]);
      11  }