re PR c++/79583 (ICE (internal compiler error) upon instantiation of class template with auto template parameter containing inner class template)

2017-05-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/79583
	* g++.dg/cpp0x/pr79583.C: New.

From-SVN: r248451
This commit is contained in:
Paolo Carlini 2017-05-25 09:32:46 +00:00 committed by Paolo Carlini
parent 2673d1925b
commit 18c1e9e024
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79583
* g++.dg/cpp0x/pr79583.C: New.
2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/68578

View file

@ -0,0 +1,9 @@
// { dg-do compile { target c++11 } }
template < auto > // { dg-error "parameter" }
struct Outer
{
template < int >
struct Inner { };
};
Outer<0> a{};