blob: e94ac1c56937fee222a54b48a56bb481d1506798 [file] [log] [blame]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
// Special g++ Options: -Wno-non-template-friend
template<int I>
class C {
friend void f(struct X *);
};
template class C<0>;
class D {
friend void f(struct X*);
};