2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
* g++.old-deja/g++.other/decl5.C: Expand new expected errors.
From-SVN: r139035
int m;
};
struct Z;
- expand me; // { dg-error "" } not name a type
+ expand me; // { dg-error "error: 'expand' does not name a type" }
void foo(struct A::e);
void foo(struct A::z); // { dg-warning "" } extra qualification
};
};
}
-NMS::D thing; // { dg-error "" } not name a type
+NMS::D thing; // { dg-error "error: 'D' in namespace 'NMS' does not name a type" }
void NMS::fn()
{
i = 3;