☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend65.C
☽
☼
gcc/testsuite/g++.dg/template/friend65.C
code
plain
raw
1
template <class T> void foo (int);
2
3
template <class T>
4
class Q {
5
friend inline void foo<T> (int); // { dg-error "10:.inline. is not allowed in declaration of friend" }
6
};