Home
last modified time | relevance | path

Searched refs:oneT (Results 1 – 3 of 3) sorted by relevance

/external/clang/test/SemaTemplate/
Dresolve-single-template-id.cpp14 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()
[all …]
/external/clang/test/CXX/over/over.over/
Dp2-resolve-single-template-id.cpp28 template<class T> void oneT() { } in oneT() function
39 oneT<int>; // expected-warning {{expression result unused}} in check()
48 oneT<int>; // expected-warning {{expression result unused}} in check()
68 void oneT() { } in oneT() function
81 { 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()
/external/clang/test/Parser/
Dcxx-template-decl.cpp165 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; }