blob: 4d98e754639a3a85712a36baf9cf9e7d919c2415 [file] [log] [blame]
// PR c++/9229
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// { dg-do compile }
template <typename T> class A // { dg-error "" }
{
struct B;
template <typename U> friend typename A<U,void>::B foo(); // { dg-error "" }
};
template class A<int>;