Debian Codegraph @

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

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