https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99850

--- Comment #4 from 康桓瑋 <hewillk at gmail dot com> ---
This ICE may be caused by not handle this form.

template <typename...> concept C = true;

auto l = []<typename... Ts> requires (C<Ts> && ...) -> void {};

https://godbolt.org/z/vo8xPd4hY

<source>:3:48: internal compiler error: Segmentation fault
    3 | auto l = []<typename... Ts> requires (C<Ts> && ...) -> void {};
      |                                                ^~~
0x1cfca39 internal_error(char const*, ...)
        ???:0
0x940286 convert_generic_types_to_packs(tree_node*, int, int)
        ???:0
0x8e126d c_parse_file()
        ???:0
0xa60292 c_common_parse_file()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to