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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |67491

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 15.2 rejects the code:
```
<source>: In function 'constexpr auto noop(auto:1)':
<source>:6:37: error: 'fc' was not declared in this scope; did you mean 'f'?
[-Wtemplate-body]
    6 |     requires (sizeof(Arg) != sizeof(fc))
      |                                     ^~
      |                                     f
```


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues

Reply via email to