Home
last modified time | relevance | path

Searched refs:InnerTemplate (Results 1 – 5 of 5) sorted by relevance

/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp2.cpp84 …struct InnerTemplate : public T { }; // expected-note {{explicitly specialized declaration is here… struct
219 struct X0<void*>::InnerTemplate<int> { }; struct in N0::X0
222 struct X0<int>::InnerTemplate<int>; // expected-note{{forward declaration}} member in N0::X0
225 struct X0<int>::InnerTemplate<long>; member in N0::X0
228 struct X0<int>::InnerTemplate<double>; member in N0::X0
232 struct N0::X0<int>::InnerTemplate<long> { }; // okay struct in N0::X0
235 struct N0::X0<int>::InnerTemplate<float> { }; struct in N0::X0
242 struct N0::X0<int>::InnerTemplate<double> { }; // expected-error{{enclosing}} struct in N1::N0::X0
245 N0::X0<void*>::InnerTemplate<int> inner_template0;
246 N0::X0<int>::InnerTemplate<int> inner_template1; // expected-error{{incomplete}}
[all …]
Dp2-0x.cpp63 struct InnerTemplate : public T { }; // expected-note 1{{explicitly specialized}} \ struct
218 struct X0<void*>::InnerTemplate<int> { }; struct in N0::X0
221 struct X0<int>::InnerTemplate<int>; // expected-note{{forward declaration}} member in N0::X0
224 struct X0<int>::InnerTemplate<long>; member in N0::X0
227 struct X0<int>::InnerTemplate<double>; member in N0::X0
231 struct N0::X0<int>::InnerTemplate<long> { }; // okay struct in N0::X0
234 struct N0::X0<int>::InnerTemplate<float> { }; struct in N0::X0
238 struct N0::X0<int>::InnerTemplate<double> { }; // expected-error{{enclosing}} struct in N1::N0::X0
241 N0::X0<void*>::InnerTemplate<int> inner_template0;
242 N0::X0<int>::InnerTemplate<int> inner_template1; // expected-error{{incomplete}}
[all …]
Dp1.cpp40 struct InnerTemplate : public T { }; struct
82 struct X0<void*>::InnerTemplate<int> { }; struct in X0
84 X0<void*>::InnerTemplate<int> inner_template0;
/external/clang/test/SemaTemplate/
Dms-sizeof-missing-typename.cpp34 x1 = sizeof(typename T::/*template*/ InnerTemplate<sizeof(/*typename*/ T::InnerType)>),
36 x2 = sizeof(typename T::template InnerTemplate<sizeof(/*typename*/ T::InnerType)>),
38 y1 = sizeof(typename T::/*template*/ InnerTemplate<sizeof(T::InnerVar)>),
39 y2 = sizeof(typename T::template InnerTemplate<sizeof(T::InnerVar)>),
40 z = sizeof(T::template InnerTemplate<sizeof(T::InnerVar)>::x),
45 struct InnerTemplate { int x[N]; }; argument
Dinstantiate-declref.cpp6 struct InnerTemplate { struct
17 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; in foo()
25 Outer::Inner::InnerTemplate<type>::VeryInner::Kind2 = K2Val; in bar()
27 InnerTemplate t; in bar()
28 InnerTemplate<type> t2; in bar()
38 template struct N::Outer::Inner::InnerTemplate<INT>::VeryInner;
39 template struct N::Outer::Inner::InnerTemplate<INT>::UeberInner; // expected-error{{no struct named…