OSDN Git Service

2011-02-20 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / type1.C
1 // Test for helpful error messages on invalid nested-name-specifiers.
2
3 struct A {
4   template <class T> struct B { static int c; };
5 };
6
7 int A::B::c;                    // { dg-error "parameters" }
8 int A::C::d;                    // { dg-error "declared" }