15 volatile struct base b;
16 volatile struct base *bp;
18 bp = (struct base *)&b;
21 ((struct derived volatile *)bp)->extra = 'x';
24 /* { dg-output "mudflap violation 1.*" } */
25 /* { dg-output "Nearby object 1.*" } */
26 /* { dg-output "mudflap object.*.main. b.*" } */
27 /* { dg-do run { xfail *-*-* } } */