PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash38.C
blobf4cf299859cf7419fda5b63a8b1a81b2c48bdb42
1 // PR c++/23307
3 class A
5   template<class R>
6   static void f(X&); // { dg-error "" }
7   inline void A::f<void>(X&); // { dg-error "f|expected|not been declared" }
8 };