Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access11.C
blob: 31a89b2ede8b3b271c4e9845980d95c506c909db [
file
] [
log
] [
blame
]
// PRMS Id: 4900
// Bug: g++ doesn't apply access control uniformly to type conversion operators
// Build don't link:
struct
A
{
protected
:
operator
int
*
()
const
;
};
struct
B
:
public
A
{
int
*
foo
()
{
return
A
::
operator
int
*();
}
};