struct A
{
int val;
A(int i) : val(i){}
};

int main()
{
A a = 10;
}