☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend33.C
☽
☼
gcc/testsuite/g++.dg/template/friend33.C
code
plain
raw
1
// { dg-do compile }
2
// PR c++/18733: Validation of template headers in friends
3
4
template<int> struct A
5
{
6
void foo();
7
};
8
9
struct B
10
{
11
friend void A<0>::foo();
12
};