1 // RUN: %clang_cc1 -fsyntax-only -verify %s
15 x
.operator--(); // expected-error{{no member named 'operator--'}}
16 x
.operator float(); // expected-error{{no member named 'operator float'}}
17 x
.operator; // expected-error{{expected a type}}
25 i
= x
->operator int();
26 x
->operator--(); // expected-error{{no member named 'operator--'}}
27 x
->operator float(); // expected-error{{no member named 'operator float'}}
28 x
->operator; // expected-error{{expected a type}}
32 class A
{ public: void operator()(int x
, int y
= 2, ...) {} };