blob: f1b5cb26aa3b74db23767c794e29c0b7f88adbd6 [file] [log] [blame]
// { dg-do compile }
// PR c++/18733: Validation of template headers in friends
template<int> struct A
{
void foo();
};
struct B
{
friend void A<0>::foo();
};