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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
using T = void ();

T a = delete ("hello");
T b = delete;
```

Should be valid, correct?

I was even more super confused because clang parses `= delete` here specially
and then errors out:
```
<source>:3:7: error: only functions can have deleted definitions
    3 | T a = delete ("hello");
      |       ^
<source>:4:7: error: only functions can have deleted definitions
    4 | T b = delete;
      |       ^
```

Reply via email to