PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend65.C
blob8fa56542762465676928f7d1478dafca34ea5799
1 template <class T> void foo (int);
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 };