Home
last modified time | relevance | path

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

/external/clang/test/CXX/over/over.over/
Dp2-resolve-single-template-id.cpp32 template<class T> void twoT() { } // expected-note 2 {{possible target for call}} in twoT() function
33 template<class T> void twoT(T) { } // expected-note 2 {{possible target for call}} in twoT() function
40twoT<int>; // expected-error {{reference to overloaded function could not be resolved; did you mea… in check()
49twoT<int>; // expected-error {{reference to overloaded function could not be resolved; did you mea… in check()
56 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()
95 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(twoT<int>); } in main()
96 { (void) reinterpret_cast<int (*)(char, double)>(twoT<int>); } in main()
[all …]
/external/clang/test/SemaTemplate/
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()
76twoT<int> < twoT<int>; //expected-error {{reference to overloaded function could not be resolved; … in main()
/external/clang/test/Parser/
Dcxx-template-decl.cpp166 typedef char (&twoT)[2];