* g++.dg/template/spec10.C: Set exit value to zero on success. Fix
[official-gcc.git] / gcc / testsuite / g++.dg / template / type1.C
blob98a4bd3bf03190da9473c24187b7c788d8ebb61b
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 "class" }