aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/crash80.C
blob: a12bd8bddaa2e9e3a421175f5d9d05e66fc46e41 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/37087

namespace a {
  template <typename T> class Foo;
}

namespace b {
  template <> class ::a::Foo<double> {}; // { dg-error "global qualification of class name is invalid" }
}