Searched refs:UsingTemplateCtors (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/special/class.inhctor/
H A Dp2.cpp107 struct UsingTemplateCtors : TemplateCtors { // expected-note 2{{candidate constructor (the implicit}} struct in inherits:TemplateCtors
110 constexpr UsingTemplateCtors(X<0>, X<0>) {} // expected-note {{not viable}} function in struct:UsingTemplateCtors
111 constexpr UsingTemplateCtors(X<1>, X<1>) {} // expected-note {{not viable}} function in struct:UsingTemplateCtors
112 constexpr UsingTemplateCtors(X<2>, X<2>) {} // expected-note {{not viable}} function in struct:UsingTemplateCtors
114 template<int = 0> constexpr UsingTemplateCtors(int) {} // expected-note {{not viable}} function in struct:UsingTemplateCtors
115 template<typename T = void> constexpr UsingTemplateCtors(int, int) {} // expected-note {{not viable}} function in struct:UsingTemplateCtors
116 template<typename T, typename U> constexpr UsingTemplateCtors(int, int, int) {} // expected-note {{couldn't infer}} function in struct:UsingTemplateCtors
120 constexpr UsingTemplateCtors uct1{ X<0>{}, X<0>{} };
121 constexpr UsingTemplateCtors uct2{ X<0>{}, Y<0>{} }; // expected-error {{must be initialized by a constant expression}} expected-note {{non-constexpr}}
122 constexpr UsingTemplateCtors uct
[all...]

Completed in 76 milliseconds