diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C b/gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C index 2da3f387e47..3bed81e6ffe 100644 --- a/gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C +++ b/gcc/testsuite/g++.old-deja/g++.benjamin/tem04.C @@ -168,8 +168,13 @@ template class Xtwentyfour {// ERROR - .* }; - - +// 25 +// non-type template parms that use push_class_level +template void f1() {// ERROR - .* + struct foo { + enum T22 { un, du, toi }; // ERROR - .* + }; +}