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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Another example:
```
struct A {
  template<int>
  const A& f();
  const A& g();
};

struct B : public A {
  using A::f;
  using A::g;
  template<int>
  const int f();
  const int g();
};

int main() {
  B b;
  b.g();
  b.f<0>();
}
```

GCC trunk seemly only rejects the template member function as being ambigious
though.

Reply via email to