Debian Codegraph @

gcc/testsuite/g++.dg/template/friend51.C

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>;