/cp
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash95.C
blobf60e635ae66dce537e27b635cba7959c38ea942b
1 // PR c++/43705
3 template < typename > struct S
5   template < > struct S < int > // { dg-error "explicit|specialization|template|parameter" }
6   {
7     S(int);
8   };
9 };
11 S < int > s(0); // { dg-error "no matching" }