Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaTemplate/
H A 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()
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 …]
/llvm-project-15.0.7/clang/test/CXX/over/over.over/
H A 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()
/llvm-project-15.0.7/clang/test/Frontend/
H A Dftime-report-template-decl.cpp92 typedef char (&oneT)[1]; typedef
120 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()
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-template-decl.cpp173 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; }