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

            Bug ID: 115266
           Summary: [cwg2389] Agreement of deduced and
                    explicitly-specified variable types
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
            Blocks: 94404
  Target Milestone: ---

GCC rejects this even though it is the defect report makes this valid:
```
  struct S {
    static int i;
  };
  auto S::i = 23;
```


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404
[Bug 94404] [meta-bug] C++ core issues

Reply via email to