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

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #2)
> ```
> extern "C" unsigned long strlen (const char *);
> template <typename>
> void
> place_order ()
> {
>   char __trans_tmp_1;
>   const auto action_str{ &__trans_tmp_1 };
>   auto { strlen (action_str) };
> }
> ```

With -std=c++20, this ICEs from 12.

Reply via email to