From 18c1e9e024fe76f61424d5b0a24ce7b502a1f4b5 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Thu, 25 May 2017 09:32:46 +0000 Subject: [PATCH] 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 PR c++/79583 * g++.dg/cpp0x/pr79583.C: New. From-SVN: r248451 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/pr79583.C | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/pr79583.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae561d148d2..ab09dcba25b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-05-25 Paolo Carlini + + PR c++/79583 + * g++.dg/cpp0x/pr79583.C: New. + 2017-05-25 Paolo Carlini PR c++/68578 diff --git a/gcc/testsuite/g++.dg/cpp0x/pr79583.C b/gcc/testsuite/g++.dg/cpp0x/pr79583.C new file mode 100644 index 00000000000..30cdf9fd730 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr79583.C @@ -0,0 +1,9 @@ +// { dg-do compile { target c++11 } } + +template < auto > // { dg-error "parameter" } +struct Outer +{ + template < int > + struct Inner { }; +}; +Outer<0> a{}; -- 2.30.2