1 // PR c++/84952 ICE with anon-struct having member fns
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wno-pedantic }
8 template <typename> int a ();
9 // { dg-error "can only have" "" { target *-*-* } .-1 }
12 int : a; // { dg-error "non-integral" }