concepts-err1.C
885 Bytes
-
c++: Fix error-recovery with concepts. · 85409531
Here, push_tinst_level refused to push into the scope of Foo::Foo because it was triggered from the ill-formed function fun. But we didn't check the return value and tried to pop the un-pushed level. PR c++/93551 * constraint.cc (satisfy_declaration_constraints): Check return value of push_tinst_level.
Jason Merrill committed