Lines Matching refs:f0
6 template typedef void f0; // expected-error{{explicit instantiation of typedef}}
15 T f0(T x) {
18 T *f0(T *, T *) { return T(); } // expected-warning 0-1 {{expression which evaluates to zero treated as a null pointer constant of type 'int *'}} expected-error 0-1 {{cannot initialize return object of type 'int *' with an rvalue of type 'int'}}
20 template <typename U> T f0(T, U) { return T(); } // expected-note-re {{candidate template ignored: could not match 'int (int, U){{( __attribute__\(\(thiscall\)\))?}}' against 'int (int){{( __attribute__\(\(thiscall\)\))?}} const'}} \
35 template int X0<int>::f0(int);
36 template int* X0<int>::f0(int*, int*); // expected-note{{in instantiation of member function 'X0<int>::f0' requested here}}
37 template int X0<int>::f0(int, float);
39 template int X0<int>::f0(int) const; // expected-error{{does not refer}}
40 template int* X0<int>::f0(int*, float*); // expected-error{{does not refer}}
45 template MemPtr X0<MemPtr>::f0(MemPtr); // expected-note{{requested here}}
48 int f0(int); // expected-note{{refers here}}
57 template int X2::f0(int); // expected-error{{not an instantiation}}