mponent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: serge.guel...@telecom-bretagne.eu
Target Milestone: ---
The following code fails to compile: https://godbolt.org/z/briQXa
Adding a `noexcept` specifier to the default constructor fixes the issue, but
it shouldn't be
ignee: unassigned at gcc dot gnu.org
Reporter: serge.guel...@telecom-bretagne.eu
Target Milestone: ---
The following code
```
template
struct my_type {
long fast(long i) const;
long fast(long i) ;
auto operator[](long i) const -> decltype(this->fast(i));
template
ent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: serge.guel...@telecom-bretagne.eu
Target Milestone: ---
Compiling the following test case
```
template
struct C {
F fast(long i) const;
auto operator[](long i) const -> decltype(this->fast(i));
};
templat