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

--- Comment #2 from 康桓瑋 <hewillk at gmail dot com> ---
The struct bit is a red herring. It can be boiled down to just two concept
keywords:

https://godbolt.org/z/sW7vr3sso

concept concept;

<source>:1:1: warning: C++20 concept definition syntax is 'concept <name> =
<expr>'
    1 | concept concept;
      | ^~~~~~~
<source>:1:9: warning: C++20 concept definition syntax is 'concept <name> =
<expr>'
    1 | concept concept;
      |         ^~~~~~~
'
Segmentation fault
0x1d030c9 internal_error(char const*, ...)
        ???:0
0x1d1eb4b pp_format(pretty_printer*, text_info*)
        ???:0
0x1d01c4a diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        ???:0
0x1d049e6 error_at(rich_location*, char const*, ...)
        ???:0
0x8e261d c_parse_file()
        ???:0
0xa62752 c_common_parse_file()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Reply via email to