Sign in
llvm
/
llvm-archive
/
0b77ac699583dcf734b000496ba386cb185b119c
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility2.C
blob: 74021d58db8eec139d7ebfccc3d1680d22289d8c [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed visibility
class
X
{
void
g
(
int
);
// { dg-error "" } private
public
:
void
g
(
double
);
};
class
Y
:
public
X
{
void
f
()
{
g
(
1
);
}
};
// { dg-error "" } private