1 // RUN: %clang_cc1 -fsyntax-only -verify %s
8 x.int; // expected-error{{expected unqualified-id}}
9 x.~int(); // expected-error{{expected a class name}}
10 x.operator; // expected-error{{missing type specifier after 'operator'}}
11 x.operator typedef; // expected-error{{missing type specifier after 'operator'}}
17 x->int; // expected-error{{expected unqualified-id}}
18 x->~int(); // expected-error{{expected a class name}}
19 x->operator; // expected-error{{missing type specifier after 'operator'}}
20 x->operator typedef; // expected-error{{missing type specifier after 'operator'}}