diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg10.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg10.C new file mode 100644 index 00000000000..02f16b69950 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/defarg10.C @@ -0,0 +1,11 @@ +// Build don't link: +// Origin: Ian Nixon + +struct A {}; + +template class Tc {}; // ERROR - no defarg + +int main () +{ + Tc oops; // ERROR - using template +}