Lines Matching refs:X1

13 struct X1 : X0 {  struct
14 X1();
15 X1<T>(int);
16 (X1<T>)(float);
17 X1 f2();
18 X1 f2(int);
19 X1 f2(float);
20 X1 f2(double);
21 X1 f2(short);
22 X1 f2(long);
26 template<typename T> X1<T>::X1<T>(int) { } // expected-error{{out-of-line constructor for 'X1' cann… in X1() function in X1
27 template<typename T> (X1<T>::X1<T>)(float) { } // expected-error{{out-of-line constructor for 'X1' …
34 template<typename T> X1<T>::X1<T> X1<T>::f2() { } // expected-error{{missing 'typename'}} in f2()
35 template<typename T> X1<T>::X1<T> (X1<T>::f2)(int) { } // expected-error{{missing 'typename'}} in X1() function in X1
36 template<typename T> struct X1<T>::X1<T> (X1<T>::f2)(float) { } in X1() function in X1
37 template<typename T> struct X1<T>::X1 (X1<T>::f2)(double) { } in X1() function in X1
38 template<typename T> typename X1<T>::template X1<T> X1<T>::f2(short) { } // expected-warning {{qual… in f2()
39 template<typename T> typename X1<T>::template X1<T> (X1<T>::f2)(long) { } // expected-warning {{qua… in X1() function in X1
41 void x1test(X1<int> x1i) { in x1test()
50 …X1<int>::X1 x1a; // expected-error{{qualified reference to 'X1' is a constructor name rather than … in other_contexts()
51 …X1<int>::X1<float> x1b; // expected-error{{qualified reference to 'X1' is a constructor name rathe… in other_contexts()
56 X1<int>::X0 ok3; in other_contexts()
57 …X1<int>::X0::X0 x0c; // expected-error{{qualified reference to 'X0' is a constructor name rather t… in other_contexts()
58 X1<int>::X1<float>::X0 ok4; in other_contexts()
62 …typename X1<int>::X1<float> tn2; // expected-warning{{qualified reference to 'X1' is a constructor… in other_contexts()
64 typename X1<int>::X0 ok2; // expected-warning 0-1{{typename}} in other_contexts()
69 struct X1<int>::X1 tag2; in other_contexts()
70 struct X1<int>::X1<int> tag3; in other_contexts()
88 …typename T::X1 x1; // expected-warning{{qualified reference to 'X1' is a constructor name rather t… in in_instantiation_x1()
89 …typename T::template X1<int> x1i; // expected-warning{{qualified reference to 'X1' is a constructo… in in_instantiation_x1()
92 template void in_instantiation_x1<X1<int> >(); // expected-note {{instantiation of}}