comparison gcc/testsuite/c-c++-common/pr82872.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
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 }