// PR c++/25858

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

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


syntax highlighted by Code2HTML, v. 0.9.1