summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/decl3.C
blob: 7f938507603667800b10e338719a388bb4d68765 (plain)
1
2
3
4
5
6
7
8
// c++/32560

namespace N {}

template<typename> struct A
{
  int A<typename N::X>; // { dg-error "namespace|argument|before" }
};