struct A
{
static const int a = 5 ;
};
#include <iostream>
int f(const int *i)
{
int b = 2 * *i;
return b - 3;
}
int main()
{
std::cout<<f(&A::a)<<"\n";
return 0;
}
c3RydWN0IEEKewogICAgc3RhdGljIGNvbnN0IGludCBhID0gNSA7Cn07CgojaW5jbHVkZSA8aW9zdHJlYW0+CgppbnQgZihjb25zdCBpbnQgKmkpCnsKICAgIGludCBiID0gMiAqICppOwogICAgcmV0dXJuIGIgLSAzOwp9CgppbnQgbWFpbigpCnsKICAgIHN0ZDo6Y291dDw8ZigmQTo6YSk8PCJcbiI7CiAgICByZXR1cm4gMDsKfQ==