1 2 3 4 5 6
// { dg-do assemble } class X { public: const operator int (); // { dg-error "" } invalid declaration. };