PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error25.C
blob89011576e0437eefe7777fa11e31929756bb7248
1 // PR c++/31923
3 template<class T>
4 static void f1 ();
6 template<>
7 static void f1<void> ();  // { dg-error "explicit template specialization cannot have a storage class" }
9 template<class T>
10 extern void f2 ();
12 template<>
13 extern void f2<void> ();  // { dg-error "explicit template specialization cannot have a storage class" }
15 export template<class T>  // { dg-warning "keyword 'export' not implemented" }
16 static void* f3 ();