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

            Bug ID: 124835
           Summary: [reflection] function call with splice in decltype
           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: ---

```
template<typename T>
constexpr T foo (T t) { return t; }

decltype([:^^foo<int>:](42)) a = 42;
```

should work but is bogusly rejected because I made a thinko in
cp_parser_decltype_expr.

Reply via email to