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

            Bug ID: 115906
           Summary: [coroutines] ICE when co_await used as default
                    argument in function declaration
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ddvamp007 at gmail dot com
  Target Milestone: ---

If you declare a function inside a coroutine and use the co_await expression as
the default argument, the compiler outputs ICE

https://godbolt.org/z/zTz8xWqxh

Reply via email to