1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
7 typedef void (C::*pmfc
)();
11 c
->*pmfc(); // expected-error {{invalid use of pointer to member type after ->*}}
13 c1
.*pmfc(); // expected-error {{invalid use of pointer to member type after .*}}
14 c
->*(pmfc()); // expected-error {{invalid use of pointer to member type after ->*}}
15 c1
.*((pmfc())); // expected-error {{invalid use of pointer to member type after .*}}