Lines Matching refs:H
156 struct H { // expected-note 6 {{not viable}} struct
157 explicit H(int, int); // expected-note 3 {{not viable}} expected-note {{declared here}}
158 H(int, void*); // expected-note 3 {{not viable}}
174 H h1({1, 2}); // expected-error {{no matching constructor}} in edge_cases()
175 (void) new H({1, 2}); // expected-error {{no matching constructor}} in edge_cases()
177 (void) H({1, 2}); // expected-error {{no matching conversion}} in edge_cases()
180 H h2({1, nullptr}); in edge_cases()
181 (void) new H({1, nullptr}); in edge_cases()
182 (void) H({1, nullptr}); in edge_cases()
185 H h3{1, 2}; in edge_cases()
186 (void) new H{1, 2}; in edge_cases()
187 (void) H{1, 2}; in edge_cases()
191 H h1{1, nullptr};
192 H h2 = {1, nullptr};
193 H h3{1, 1};
194 H h4 = {1, 1}; // expected-error {{constructor is explicit}}