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

            Bug ID: 124489
           Summary: [reflection] Missing space when printing "constexpr
                    std::meta::info"
           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: ---

As can be seen in the testcase in bug 124488:

```
//#define HACK  // uncomment this line to fix

int main() {
  template for (constexpr decltype(^^::) dm : {^^int}) {
    #ifdef HACK
    constexpr auto dmcopy = dm;
    #endif
    (void)[](){
      #ifdef HACK
      (void) dmcopy;
      #else
      (void) dm;
      #endif
    };
  }
}
```

we print

  note: ‘constexprstd::meta::info dm’ declared here

Notice the missing space.

Reply via email to