1 // be pickier about anon-union and structs
2 // { dg-options "-fpermissive" }
8 int f1 (); // { dg-warning "public non-static data" }
9 // { dg-message "will be removed" "" { target *-*-* } .-1 }
10 typedef int t1; // { dg-warning "public non-static data" }
12 int m1; // { dg-warning "public non-static data" }
17 int f2 (); // { dg-warning "public non-static data" }
18 typedef int t2; // { dg-warning "public non-static data" }
20 int m2; // { dg-warning "public non-static data" }