https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95972
--- Comment #2 from Haoxin Tu <haoxintu at gmail dot com> ---
Update a new case.
Input:
int a() { [] ( auto class {int b()}}
Output:
<source>: In function 'int a()':
<source>:1:27: error: types may not be defined in parameter types
1 | int a() { [] ( auto class {int b()}}
| ^
<source>:1:34: internal compiler error: in check_member_template, at
cp/decl2.c:568
1 | int a() { [] ( auto class {int b()}}
| ^
