[Bug c++/123609] New: [reflection] invalid annotation accepted

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 15 18:21:39 GMT 2026


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

            Bug ID: 123609
           Summary: [reflection] invalid annotation accepted
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

```
struct [[=]] S {};
```

is accepted but should be rejected.


More information about the Gcc-bugs mailing list