This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45113] absent or confusing diagnostics of invalid template argument list in implicit template class instantiation
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Aug 2017 19:40:24 +0000
- Subject: [Bug c++/45113] absent or confusing diagnostics of invalid template argument list in implicit template class instantiation
- Auto-submitted: auto-generated
- References: <bug-45113-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45113
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang has a nice error for test3
45113_3.cc:2:15: error: type-id cannot have a name
typedef U<int x,int y> A;
^
45113_3.cc:2:21: error: type-id cannot have a name
typedef U<int x,int y> A;
^
2 errors generated.