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

--- Comment #1 from Hana Dusíková <hanicka at hanicka dot net> ---
Error I'm getting is:

```
<source>:1:43: error: the value of '<anonymous>' is not usable in a constant
expression
    1 | constexpr auto f = (delete new int{42}, 32);
      |                                           ^
<source>:1:38: note: '<anonymous>' was not declared 'constexpr'
    1 | constexpr auto f = (delete new int{42}, 32);
      |                                      ^
Compiler returned: 1
```

Reply via email to