blob: 6944a40472583afd07aabd84f131ed150928b6fe [file] [log] [blame]
struct B {
B(); // This type is non-literal
void func();
};
template <class Class, void (Class::*Ptr)()>
void match();
template <class Any, Any Value>
void match();
void func() {
match<B, &B::func>();
}