Lines Matching refs:oneT
14 template<class T> void oneT() { } in oneT() function
15 template<class T, class U> void oneT(U) { } in oneT() function
33 oneT<int>; // expected-warning {{expression result unused}} in main()
35 typeid(oneT<int>); // expected-warning{{expression result unused}} in main()
36 sizeof(oneT<int>); // expected-error {{invalid application of 'sizeof' to a function type}} in main()
38 decltype(oneT<int>)* fun = 0; in main()
41 *oneT<int>; // expected-warning {{expression result unused}} in main()
44 …!oneT<int>; // expected-warning {{expression result unused}} expected-warning {{address of functi… in main()
45 +oneT<int>; // expected-warning {{expression result unused}} in main()
46 -oneT<int>; //expected-error {{invalid argument type}} in main()
47 oneT<int> == 0; // expected-warning {{equality comparison result unused}} \ in main()
51 0 == oneT<int>; // expected-warning {{equality comparison result unused}} \ in main()
54 0 != oneT<int>; // expected-warning {{inequality comparison result unused}} \ in main()
57 (false ? one : oneT<int>); // expected-warning {{expression result unused}} in main()
58 void (*p1)(int); p1 = oneT<int>; in main()
60 …int i = (int) (false ? (void (*)(int))twoT<int> : oneT<int>); //expected-error {{incompatible oper… in main()
61 …(twoT<int>) == oneT<int>; //expected-error {{reference to overloaded function could not be resolve… in main()
62 …bool b = oneT<int>; // expected-warning {{address of function 'oneT<int>' will always evaluate to … in main()
63 void (*p)() = oneT<int>; in main()
64 test<oneT<int> > ti; in main()
65 void (*u)(int) = oneT<int>; in main()
72 oneT<int> < oneT<int>; //expected-warning {{self-comparison always evaluates to false}} \ in main()
77 oneT<int> == 0; // expected-warning {{equality comparison result unused}} \ in main()