Lines Matching refs:oneT
14 template<class T> void oneT() { }
15 template<class T, class U> void oneT(U) { }
33 oneT<int>; // expected-warning {{expression result unused}}
35 typeid(oneT<int>); // expected-warning{{expression result unused}}
36 sizeof(oneT<int>); // expected-warning {{expression result unused}}
38 decltype(oneT<int>)* fun = 0;
41 *oneT<int>; // expected-warning {{expression result unused}}
44 !oneT<int>; // expected-warning {{expression result unused}} expected-warning {{address of function 'oneT<int>' will always evaluate to 'true'}} expected-note {{prefix with the address-of operator to silence this warning}}
45 +oneT<int>; // expected-warning {{expression result unused}}
46 -oneT<int>; //expected-error {{invalid argument type}}
47 oneT<int> == 0; // expected-warning {{equality comparison result unused}} \
49 0 == oneT<int>; // expected-warning {{equality comparison result unused}}
50 0 != oneT<int>; // expected-warning {{inequality comparison result unused}}
51 (false ? one : oneT<int>); // expected-warning {{expression result unused}}
52 void (*p1)(int); p1 = oneT<int>;
54 int i = (int) (false ? (void (*)(int))twoT<int> : oneT<int>); //expected-error {{incompatible operand}}
55 (twoT<int>) == oneT<int>; //expected-error {{reference to overloaded function could not be resolved; did you mean to call it?}} {{cannot resolve overloaded function 'twoT' from context}}
56 bool b = oneT<int>; // expected-warning {{address of function 'oneT<int>' will always evaluate to 'true'}} expected-note {{prefix with the address-of operator to silence this warning}}
57 void (*p)() = oneT<int>;
58 test<oneT<int> > ti;
59 void (*u)(int) = oneT<int>;
66 oneT<int> < oneT<int>; //expected-warning {{self-comparison always evaluates to false}} \
71 oneT<int> == 0; // expected-warning {{equality comparison result unused}} \