3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 24 Nov 2000 <nathan@codesourcery.com>
6 // Bug 853: We reported the wrong line no for a friend access violation
10 class Internal; // { dg-error "" } is private
15 friend class F::Internal; // { dg-error "" } in this context
17 typedef enum { A, B } e;