1 namespace N { 2 template < typename T > class C : T {}; 3 } 4 main()5 int main() { 6 N::C(); // { dg-error "template|deduction" } 7 } 8