☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template11.C
☽
☼
gcc/testsuite/g++.old-deja/g++.ns/template11.C
code
plain
raw
1
// { dg-do run }
2
void foo(){}
3
4
namespace Bar{
5
template<class X>
6
class Y{
7
friend void foo(Y<X>){}
8
};
9
}
10
11
int main()
12
{
13
Bar::Y<int> y;
14
foo(y);
15
foo();
16
}