PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-pack-5.c
blob897686f772ae547c383e4297cd9b56febb6609b8
1 /* Check that pragma pack overrides STRUCTURE_SIZE_BOUNDARY. */
2 /* { dg-do compile } */
4 #pragma pack(1)
5 struct S
7 char a;
8 };
10 int test[sizeof(struct S) == 1 ? 1: -1];