#include <iostream>
void foo(int&)
{
std::cout << "foo(int)" << std::endl;
}
void foo(const int &)
{
std::cout << "foo(const int &)" << std::endl;
}
int main(void)
{
int a;
foo(a);
foo(4);
return (0);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdm9pZCBmb28oaW50JikKewogICAgc3RkOjpjb3V0IDw8ICJmb28oaW50KSIgPDwgc3RkOjplbmRsOwp9Cgp2b2lkIGZvbyhjb25zdCBpbnQgJikKewogICAgc3RkOjpjb3V0IDw8ICJmb28oY29uc3QgaW50ICYpIiA8PCBzdGQ6OmVuZGw7Cn0KCmludCBtYWluKHZvaWQpCnsKICAgIGludCBhOwogICAgZm9vKGEpOwogICAgZm9vKDQpOwogICAgcmV0dXJuICgwKTsKfQo=