class foo
{
public:
foo() a(x[0]){}
int &a;
int x[10];
};