☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend51.C
☽
☼
gcc/testsuite/g++.dg/template/friend51.C
code
plain
raw
1
// PR c++/38392
2
// { dg-do link }
3
4
void Function();
5
6
int main()
7
{
8
Function();
9
}
10
11
template <typename T>
12
struct Test
13
{
14
friend void Function() { }
15
};
16
17
template class Test<int>;