1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do assemble } class error { public: error(int) {} }; class foo { const error x = 1; // { dg-error "" } initialization of non-static data member };