| // RUN: %clang_cc1 -fsyntax-only -verify %s |
| class X { // expected-note{{candidate function}} |
| explicit X(int); // expected-note{{candidate function}} |
| X(float, float, float); // expected-note{{candidate function}} |
| X(float, Y); // expected-note{{candidate function}} |
| X x3(1.0, 1.0); // expected-error{{no matching constructor for initialization of 'x3'; candidates are:}} |
| Z z; // expected-error{{no matching constructor for initialization of 'z'}} |
| void foo(const Derived cd, Derived d) { |
| int *pi = cd; // expected-error {{incompatible type initializing 'struct Derived const', expected 'int *'}} |