blob: 0191ae55dfc5fa81198e96f11bbe9717403621d2 [file] [log] [blame]
// 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 "arguments" }
int A::C::d; // { dg-error "declared" }