PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash65.C
blob68878c525aca2e12282db074cda6e00ff30888bf
1 // PR c++/29732
3 struct A
5   template<int> template<typename T> friend void foo(T) {} // { dg-error "parameter" }
6   void bar() { foo(0); } // { dg-error "16:'foo' was not declared" }
7 };