Re: [PATCH] c++: consteval-defarg1.C test variant for templates

2020-12-03 Thread Jason Merrill via Gcc-patches
On 12/3/20 4:29 AM, Jakub Jelinek wrote: On Wed, Dec 02, 2020 at 10:15:25PM -0500, Jason Merrill wrote: Jakub noticed that we weren't recognizing a default argument for a consteval member function as being in immediate function context because there was no function parameter scope to look at. N

[PATCH] c++: consteval-defarg1.C test variant for templates

2020-12-03 Thread Jakub Jelinek via Gcc-patches
On Wed, Dec 02, 2020 at 10:15:25PM -0500, Jason Merrill wrote: > Jakub noticed that we weren't recognizing a default argument for a consteval > member function as being in immediate function context because there was no > function parameter scope to look at. > > Note that this patch doesn't actual