Lines Matching refs:Y1
96 struct Y1 { struct
111 Y1::template f1<U>(0); in f() argument
112 Y1::template f1(0); in f()
115 Y1::template f2<U>(0); in f()
116 Y1::template f2(0); in f()
118 …Y1::template f3(0); // expected-error {{'f3' following the 'template' keyword does not refer to a … in f()
119 …Y1::template f3(); // expected-error {{'f3' following the 'template' keyword does not refer to a t… in f()
122 x = Y1::f4(0); in f()
123 x = Y1::f4<int>(0); // expected-error {{assigning to 'int' from incompatible type 'void'}} in f()
124 x = Y1::template f4(0); // expected-error {{assigning to 'int' from incompatible type 'void'}} in f()
132 void use_Y1(Y1<int> y1) { y1.f<int>(); } // expected-note {{in instantiation of}} in use_Y1()
135 struct Y2 : Y1<T> {
136 typedef ::Y1<T> Y1; typedef
139 void f(Y1 *p) { in f()
140 Y1::template f1<U>(0); in f()
141 Y1::template f1(0); in f()
144 Y1::template f2<U>(0); in f()
145 Y1::template f2(0); in f()
147 …Y1::template f3(0); // expected-error {{'f3' following the 'template' keyword does not refer to a … in f()
148 …Y1::template f3(); // expected-error {{'f3' following the 'template' keyword does not refer to a t… in f()
151 x = Y1::f4(0); in f()
152 …x = Y1::f4<int>(0); // expected-error {{use 'template'}} expected-error {{assigning to 'int' from … in f()
153 x = Y1::template f4(0); // expected-error {{assigning to 'int' from incompatible type 'void'}} in f()