blob: dfc1bb4e0c3ef5bd56b16a53e8fa57c72e8fd6f2 [file] [log] [blame]
// PR c++/93314
struct S {
int m;
static int f() {
return sizeof(char[m]); // { dg-error "S::m" }
}
};
int main()
{
return S().f()
+ sizeof(char[S::m]); // { dg-error "S::m" }
}