Issue 123423
Summary [Clang] Accepts invalid alias template with the same name as its template parameter
Labels clang
Assignees
Reporter MagentaTreehouse
    ```c++
template <class T>
using T = int;
```

This is rejected by GCC, MSVC and EDG.

See https://compiler-explorer.com/z/6a5jWGn4s.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to