Debian Codegraph @

gcc/testsuite/g++.dg/modules/tpl-friend-15.h

raw
1 // PR c++/114950
2
3 template <typename T>
4 struct A {
5 friend void x();
6 };
7 template <typename T>
8 struct B {
9 virtual void f() { A<T> r; }
10 };
11 template struct B<int>;