PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error21.C
blobc5f04f03e856b06d053b5cec5e0ad76fd477bdb5
1 // PR c++/20173
3 template<typename AT>
4 struct A{
5   template<typename T>
6   void function(T){}
7 };
9 template<>
10 template<typename T>
11 void A<int>::function(T){}
13 template<>
14 template<typename T>
15 void A<double>::function(T*){} // { dg-error "match" }