From: Paolo Carlini Date: Thu, 25 May 2017 09:32:46 +0000 (+0000) Subject: re PR c++/79583 (ICE (internal compiler error) upon instantiation of class template... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18c1e9e024fe76f61424d5b0a24ce7b502a1f4b5;p=gcc.git 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 --- 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{};