Lines Matching refs:X0

3 struct X0 {  struct
4 X0();
5 X0(int);
6 X0 f1();
7 X0 f2();
9 typedef X0 B; argument
13 struct X1 : X0 {
30 X0::X0 X0::f1() { return X0(); } // expected-error{{qualified reference to 'X0' is a constructor na… in f1()
32 struct X0::X0 X0::f2() { return X0(); } in f2()
49 …X0::X0 x0; // expected-error{{qualified reference to 'X0' is a constructor name rather than a type… in other_contexts()
53 X0::B ok1; in other_contexts()
54 X0::X0::A ok2; in other_contexts()
55 …X0::X0::X0 x0b; // expected-error{{qualified reference to 'X0' is a constructor name rather than a… 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()
61 …typename X0::X0 tn1; // expected-warning{{qualified reference to 'X0' is a constructor name rather… in other_contexts()
63 typename X0::B ok1; // expected-warning 0-1{{typename}} in other_contexts()
64 typename X1<int>::X0 ok2; // expected-warning 0-1{{typename}} in other_contexts()
68 struct X0::X0 tag1; in other_contexts()
75 …X0::X0(a); // expected-error{{qualified reference to 'X0' is a constructor name rather than a type… in other_contexts()
81 …typename T::X0 x0; // expected-warning{{qualified reference to 'X0' is a constructor name rather t… in in_instantiation_x0()
85 template void in_instantiation_x0<X0>(); // expected-note {{instantiation of}}
90 typename T::X0 x0; in in_instantiation_x1()
95 template<typename T> void f(typename T::X0 *) = delete; // expected-warning 0-1{{extension}}
97 void g() { f<X0>(0); } in g()