Currently the following code is not working:

```
namespace inner
{
    struct Test
    {
        Test() : n(0) { }
        friend int ::operator+(const Test& a, const Test& b);
    private:
        int n;
    };
}

int operator+(const inner::Test& a, const inner::Test& b)
{
    return a.n + b.n;
}

```

and the error I get is 

```
error: 'int operator+(const inner::Test&, const inner::Test&)' should have been declared inside '::'

         friend int ::operator+(const Test& a, const Test& b);

                                                            ^

```

I thought qualifing the namespace would fix the problem but it doesn't. What's a workaround?