constexpr-if25.C
428 Bytes
-
PR c++/86740, ICE with constexpr if and nested generic lambdas. · f18aa3a4
When we partially instantiate the constexpr if, we walk through its body to see what it uses from the enclosing local_specializations. That walk was overlooking the use of 'count' in the captures of the innermost lambda, because we weren't walking into the capture list. * tree.c (cp_walk_subtrees): Handle LAMBDA_EXPR. From-SVN: r268046
Jason Merrill committed