blob: ce915a840e9081693255eddf998e14ce644fa78f [file] [log] [blame]
// PR c++/79519
// { dg-do compile { target c++11 } }
struct A
{
template<typename> void foo();
};
struct B
{
template<typename> friend void A::foo() = delete; // { dg-error "34:cannot define" }
};