Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/over/over.over/
H A Dp2-resolve-single-template-id.cpp56 void twoT() { } in twoT() function
58 void twoT(T) { } in twoT() function
86 { static_cast<void>(twoT<int>); } in main()
87 { (void)(twoT<int>); } in main()
103 { bool b = (twoT<int>); } in main()
104 { bool b = (twoT<int, int>); } in main()
106 { bool b = &twoT<int>; //&foo<int>; } in main()
107 b = &(twoT<int>); } in main()
110 x = (ptrdiff_t) &twoT<int>; } in main()
113 x = (ptrdiff_t) twoT<int>; } in main()
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dresolve-single-template-id.cpp11 template<class T> void twoT() { } // expected-note 5{{possible target for call}} in twoT() function
12 template<class T> void twoT(int) { } // expected-note 5{{possible target for call}} in twoT() function
34twoT<int>; // expected-error {{reference to overloaded function could not be resolved; did you me… in main()
37 …sizeof(twoT<int>); //expected-error {{reference to overloaded function could not be resolved; did … in main()
43 …*twoT<int>; //expected-error {{reference to overloaded function could not be resolved; did you mea… 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()
67 b = (void (*)()) twoT<int>; in main()
78twoT<int> < twoT<int>; //expected-error {{reference to overloaded function could not be resolved; … in main()
/llvm-project-15.0.7/clang/test/Frontend/
H A Dftime-report-template-decl.cpp93 typedef char (&twoT)[2]; typedef
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-template-decl.cpp174 typedef char (&twoT)[2];