#include <iostream>
class AE {
// ...
public:
static const int c6 = 7;
static const int c7 = 31;
};
const int AE::c7; // definition
int f()
{
const int* p1 = &AE::c6; // error: c6 not an lvalue
const int* p2 = &AE::c7; // ok
// ...
}
int main(){
}
I2luY2x1ZGUgPGlvc3RyZWFtPgogY2xhc3MgQUUgewogICAgICAgIC8vIC4uLgogICAgcHVibGljOgogICAgICAgIHN0YXRpYyBjb25zdCBpbnQgYzYgPSA3OwogICAgICAgIHN0YXRpYyBjb25zdCBpbnQgYzcgPSAzMTsKICAgIH07CiAgICBjb25zdCBpbnQgQUU6OmM3OyAgIC8vIGRlZmluaXRpb24KICAgIGludCBmKCkKICAgIHsKICAgICAgICBjb25zdCBpbnQqIHAxID0gJkFFOjpjNjsgICAgLy8gZXJyb3I6IGM2IG5vdCBhbiBsdmFsdWUKICAgICAgICBjb25zdCBpbnQqIHAyID0gJkFFOjpjNzsgICAgLy8gb2sKICAgICAgICAvLyAuLi4KICAgIH0KIAogaW50IG1haW4oKXsKIAkKIH0=