https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104565
Bug ID: 104565
Summary: One too many `this`es in parsing?
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ted at lyncon dot se
Target Milestone: ---
Regression between g++ 9.4 and 10.1:
```
struct apa {
constexpr auto n() const { return 3; }
};
template <class>
constexpr auto f() {
apa foo;
int{foo.n()}; // no matching function for call to 'apa::n(apa*)'
}
int main() {}
```