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

--- Comment #1 from Jeff Epler <jepler at gmail dot com> ---
clang (20.1.0) actually gets it right: https://godbolt.org/z/o3dx8TWYW

> <source>:2:33: error: expression is not assignable
>     2 |     return ??-??-??-??-??-??-??---1;
>       |                                 ^ ~

Reply via email to