diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1bc34b96395..b0d25939528 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-29 Paolo Carlini + + PR c++/51488 + * g++.dg/template/pr51488.C: New. + 2016-07-29 Jakub Jelinek PR c/71969 diff --git a/gcc/testsuite/g++.dg/template/pr51488.C b/gcc/testsuite/g++.dg/template/pr51488.C new file mode 100644 index 00000000000..4979a22787c --- /dev/null +++ b/gcc/testsuite/g++.dg/template/pr51488.C @@ -0,0 +1,7 @@ +// PR c++/51488 + +template struct s; +template struct s::a> {}; +s ca; // { dg-error "depth" } + +// { dg-prune-output "compilation terminated" }