blob: d14a225a674bb6333142fd442f3d62412aef40a3 [file] [log] [blame]
// PR c++/45332
// { dg-do compile }
class C
{
int x // { dg-error "at end of member declaration" }
const int foo() { return x; }
};