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:
parent
2673d1925b
commit
18c1e9e024
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
9
gcc/testsuite/g++.dg/cpp0x/pr79583.C
Normal file
9
gcc/testsuite/g++.dg/cpp0x/pr79583.C
Normal 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{};
|
Loading…
Add table
Reference in a new issue