blob: 4363773cd7d132fa8f87bdb0b4325d11dd488b69 [file] [log] [blame]
// { dg-do run }
void foo(){}
namespace Bar{
template<class X>
class Y{
friend void foo(Y<X>){}
};
}
int main()
{
Bar::Y<int> y;
foo(y);
foo();
}