Searched refs:oneT (Results 1 – 3 of 3) sorted by relevance
14 template<class T> void oneT() { } in oneT() function15 template<class T, class U> void oneT(U) { } in oneT() function33 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()[all …]
28 template<class T> void oneT() { } in oneT() function39 oneT<int>; // expected-warning {{expression result unused}} in check()48 oneT<int>; // expected-warning {{expression result unused}} in check()68 void oneT() { } in oneT() function81 { static_cast<void>(oneT<int>); } in main()82 { (void)(oneT<int>); } in main()90 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(oneT<int>); } in main()91 { (void) reinterpret_cast<int (*)(char, double)>(oneT<int>); } in main()119 { oneT<int>; &oneT<int>; } //expected-warning 2{{expression result unused}} in main()
165 typedef char (&oneT)[1];192 static oneT Fun(U);199 oneT L<k>::O<T>::Fun(U) { return one; }204 oneT L<0>::O<char>::Fun(U) { return one; }