Searched refs:TemplateFn (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
H A Dcxx98-compat-flags.cpp4 template<typename T> int TemplateFn(T) { return 0; } function
7 TemplateFn(S()); // expected-warning {{local type 'S' as template argument is incompatible with C++98}}
10 int UnnamedTemplateArg = TemplateFn(obj_of_unnamed_type); // expected-warning {{unnamed type as template argument is incompatible with C++98}}
H A Dcxx98-compat.cpp169 template<typename T> int TemplateFn(T) { return 0; } function
172 TemplateFn(S()); // expected-warning {{local type 'S' as template argument is incompatible with C++98}}
175 int UnnamedTemplateArg = TemplateFn(obj_of_unnamed_type); // expected-warning {{unnamed type as template argument is incompatible with C++98}}

Completed in 294 milliseconds