Revert r135493 & r135463
[official-gcc.git] / libmudflap / testsuite / libmudflap.c / fail37-frag.c
blob41ce4b91e05c4b9d9cdbc9a33cea782b243b90c0
1 typedef struct
3 short f : 3;
4 } small;
6 struct
8 int i;
9 small s[4];
10 } x;
12 main ()
14 int i;
15 for (i = 0; i < 5; i++)
16 x.s[i].f = 0;
17 exit (0);
19 /* { dg-output "mudflap violation 1.*" } */
20 /* { dg-output "Nearby object.*" } */
21 /* { dg-output "mudflap object.* x.*" } */
22 /* { dg-do run { xfail *-*-* } } */