blob: e51b0274c6654dd33c61ba7e8417d1c7da16675a [file] [log] [blame]
// Build don't link:
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 24 Nov 2000 <nathan@codesourcery.com>
// Bug 853: We reported the wrong line no for a friend access violation
// Since DR 209, friend declaration access is not checked.
class F
{
class Internal;
};
class C
{
friend class F::Internal;
public:
typedef enum { A, B } e;
C ();
~C();
void m();
};