Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
other
/
friend5.C
blob: 45bbf272ecd2aceca92446f9ea0ecb759e96ce00 [
file
] [
log
] [
blame
]
/* PR c++/32111 */
/* This used to ICE. */
/* { dg-do "compile" } */
struct
A
{
friend
A
::~
A
()
{}
/* { dg-error "implicitly friends of their class" } */
};