aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/type1.C
blob: b74d975ac49a44d3634edd2130549ab5e9a5d62e (plain)
1
2
3
4
5
6
7
8
// Test for helpful error messages on invalid nested-name-specifiers.

struct A {
  template <class T> struct B { static int c; };
};

int A::B::c;			// { dg-error "parameters" }
int A::C::d;			// { dg-error "declared" }