2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 4 Oct 2000 <nathan@codesourcery.com>
4 // Origin: bug 511 malte.starostik@t-online.de
6 // Bug 511. We failed to set access correctly for enumeration members of
17 struct C: public A<int>
27 enum foo {bar}; // ERROR - private
28 typedef int baz; // ERROR - private
31 struct D: public B<int>
33 void choke (foo); // ERROR - within this context
34 void choke (baz); // ERROR - within this context