Searched refs:oneT (Results 1 – 4 of 4) 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()38 decltype(oneT<int>)* fun = 0; in main()45 +oneT<int>; // expected-warning {{expression result unused}} in main()46 -oneT<int>; //expected-error {{invalid argument type}} in main()58 void (*p1)(int); p1 = oneT<int>; in main()63 void (*p)() = oneT<int>; in main()64 test<oneT<int> > ti; in main()65 void (*u)(int) = oneT<int>; 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()
92 typedef char (&oneT)[1]; typedef120 static oneT Fun(U);126 oneT L<k>::O<T>::Fun(U) { return one; } in Fun()131 oneT L<0>::O<char>::Fun(U) { return one; } in Fun()
173 typedef char (&oneT)[1];200 static oneT Fun(U);207 oneT L<k>::O<T>::Fun(U) { return one; }212 oneT L<0>::O<char>::Fun(U) { return one; }