Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / 20150306-1.c
blob55caf3b93cedf4b8e778287214e00e047a3fa03c
1 /* { dg-do run } */
2 /* { dg-require-effective-target size32plus } */
3 /* { dg-options "-fstrict-volatile-bitfields" } */
5 struct s
7 char x : 8;
8 unsigned int y : 31;
9 } __attribute__((packed));
11 volatile struct s global;
13 int
14 main ()
16 global.y = 0x7FFFFFFF;
17 if (global.y != 0x7FFFFFFF)
18 __builtin_abort ();
19 return 0;