type1.C revision 1.1.1.1
1// Test for helpful error messages on invalid nested-name-specifiers.
2
3struct A {
4 template <class T> struct B { static int c; };
5};
6
7int A::B::c; // { dg-error "parameters" }
8int A::C::d; // { dg-error "declared" }
9