HomeSort by relevance Sort by last modified time
    Searched refs:TemplateFn (Results 1 - 2 of 2) sorted by null

  /external/clang/test/SemaCXX/
cxx98-compat-flags.cpp 4 template<typename T> int TemplateFn(T) { return 0; }
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}}
cxx98-compat.cpp 169 template<typename T> int TemplateFn(T) { return 0; }
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 3560 milliseconds