blob: 5b0a0bb95146a28b920dd6ff08085662b9dca48a [file] [log] [blame]
// { dg-do compile }
template <typename T> class A {
template <void (A::*p)()> class C; // #1
template <void (A::*q)()> friend class C; // #2
};
A<double> a;