http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60692
Bug ID: 60692 Summary: ICE with template template parameter (invalid code) Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexbolz at web dot de The following (invalid) code results in an internal compiler error: template <class> struct T {}; template <template <class> class T> struct X {}; template <class... A> void fun(X<A...> const& p) { } int main() { fun(X<T>()); } Using a single parameter instead of a parameter pack gives an error message: error: type/value mismatch at argument 1 [GNU C++ (GCC) version 4.8.2 (x86_64-w64-mingw32)]