diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/pr79583.C | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae561d1..ab09dcb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 * g++.dg/cpp1y/pr68578.C: New. diff --git a/gcc/testsuite/g++.dg/cpp0x/pr79583.C b/gcc/testsuite/g++.dg/cpp0x/pr79583.C new file mode 100644 index 0000000..30cdf9f --- /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{}; |