1 typedef struct 2 { 3 short f : 3; 4 } small; 5 6 struct 7 { 8 int i; 9 small s[4]; 10 } x; 11 12 main () 13 { 14 int i; 15 for (i = 0; i < 5; i++) 16 x.s[i].f = 0; 17 exit (0); 18 } 19 /* { dg-output "mudflap violation 1.*" } */ 20 /* { dg-output "Nearby object.*" } */ 21 /* { dg-output "mudflap object.* x.*" } */ 22 /* { dg-do run { xfail *-*-* } } */ 23