1 // Copyright (C) 2003 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
5 // Deferred access checking of variable declaration.
8 typedef int X; // { dg-error "private" }
13 A::X A::b, x; // { dg-error "this context" }
14 A::X y, A::c; // { dg-error "this context" }
15 A::X z; // { dg-error "this context" }