diag3.C
397 Bytes
-
re PR c++/59655 (incorrect diagnostic on templatized function with lambda parameter) · 775670d7
PR c++/59655 * pt.c (push_tinst_level_loc): If limit_bad_template_recursion, set TREE_NO_WARNING on tldcl. * decl2.c (no_linkage_error): Treat templates with TREE_NO_WARNING as defined during error recovery. * g++.dg/cpp0x/diag3.C: New test. From-SVN: r279470
Jakub Jelinek committed