summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash44.C
blob: d5596c19977a58db547d214dca66cd04ab334cb5 (plain)
1
2
3
4
5
6
7
// PR c++/25858

namespace N {
  template<int> struct A {};
}

struct B N::A<0> {}; // { dg-error "invalid" }