blob: ecfc09ed73ef3508dd8d8603ae93dac4518653f9 [file] [log] [blame]
// PR c++/68936
class A {};
struct predefined_macros {
struct B {
A (predefined_macros::*generator)();
};
};
template <typename> class C {
void m_fn1();
predefined_macros predef;
};
predefined_macros::B m;
template <typename ContextT> void C<ContextT>::m_fn1() {
(predef.*m.generator)();
}