parent
92da7074de
commit
6d1a9047b8
|
@ -0,0 +1,15 @@
|
|||
void foo(){}
|
||||
|
||||
namespace Bar{
|
||||
template<class X>
|
||||
class Y{
|
||||
friend void foo(Y<X>){}
|
||||
};
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
Bar::Y<int> y;
|
||||
foo(y);
|
||||
foo();
|
||||
}
|
Loading…
Reference in New Issue