Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:constructor

43 struct NoDefaultConstructor { // expected-note 3 {{candidate constructor (the implicit copy constructor)}} \
45 NoDefaultConstructor(int); // expected-note 3 {{candidate constructor}}
47 struct TooFewError { // expected-error{{implicit default constructor for}}
52 TooFewError too_few_error = { 1 }; // expected-error{{no matching constructor}}
54 TooFewError too_few_okay2[2] = { 1, 1 }; // expected-note{{implicit default constructor for 'TooFewError' first required here}}
55 TooFewError too_few_error2[2] = { 1 }; // expected-error{{no matching constructor}}
57 NoDefaultConstructor too_few_error3[3] = { }; // expected-error {{no matching constructor}}
118 union u { int a; char* b; }; // expected-note{{candidate constructor (the implicit copy constructor)}}