2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / type1.C
blobb74d975ac49a44d3634edd2130549ab5e9a5d62e
1 // Test for helpful error messages on invalid nested-name-specifiers.
3 struct A {
4   template <class T> struct B { static int c; };
5 };
7 int A::B::c;                    // { dg-error "parameters" }
8 int A::C::d;                    // { dg-error "declared" }