Debian Codegraph @

gcc/testsuite/g++.dg/inherit/template-as-base.C

raw
1 // Contributed by Gabriel Dos Reis <[email protected]>
2 // Distilled from PR C++/3656
3
4 namespace N
5 {
6 template<typename> struct X { };
7 }
8
9 struct A : N::X { }; // { dg-error "expected class-name" }