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

            Bug ID: 114564
           Summary: Accessing template Base via template Derived fails
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: benni.buch at gmail dot com
  Target Milestone: ---

```cpp
template <typename T>
struct Base {};

template <typename T>
struct Derived: Base<T> {
    Derived(Derived::Base obj);
};
```

Accessing Base via Derived works with clang and MSVC, but not with GCC.

Live:

- https://godbolt.org/z/Wv3EK3e71

Reply via email to