summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template2.C
blob: 6689c8bfa1dde1c595bb0e0adaaa5fb95d239a72 (plain)
1
2
3
4
5
6
7
namespace N {
  template < typename T > class C : T {};
}

int main() {
  N::C(); // { dg-error "template" }
}