1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do assemble } // Bug: g++ decides that A::foo is introducing a constructor declarator. struct A { typedef bool foo; }; A::foo (*bar) (); struct B { A::foo (*bar) (); };