Searched refs:UsingTemplateCtors (Results 1 – 1 of 1) sorted by relevance
/external/clang/test/CXX/special/class.inhctor/ |
D | p2.cpp | 107 struct UsingTemplateCtors : TemplateCtors { // expected-note 2{{candidate constructor (the implicit… struct 110 constexpr UsingTemplateCtors(X<0>, X<0>) {} // expected-note {{not viable}} in UsingTemplateCtors() function 111 constexpr UsingTemplateCtors(X<1>, X<1>) {} // expected-note {{not viable}} in UsingTemplateCtors() function 112 constexpr UsingTemplateCtors(X<2>, X<2>) {} // expected-note {{not viable}} in UsingTemplateCtors() argument 114 template<int = 0> constexpr UsingTemplateCtors(int) {} // expected-note {{not viable}} in UsingTemplateCtors() argument 115 …template<typename T = void> constexpr UsingTemplateCtors(int, int) {} // expected-note {{not viabl… in UsingTemplateCtors() function 116 …template<typename T, typename U> constexpr UsingTemplateCtors(int, int, int) {} // expected-note {… in UsingTemplateCtors() function 120 constexpr UsingTemplateCtors uct1{ X<0>{}, X<0>{} }; 121 constexpr UsingTemplateCtors uct2{ X<0>{}, Y<0>{} }; // expected-error {{must be initialized by a c… 122 constexpr UsingTemplateCtors uct3{ X<1>{}, X<0>{} }; // expected-error {{must be initialized by a c… [all …]
|