New file.

From-SVN: r27521
This commit is contained in:
Martin v. Löwis 1999-06-14 15:57:27 +00:00
parent 92da7074de
commit 6d1a9047b8
1 changed files with 15 additions and 0 deletions

View File

@ -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();
}