Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access13.C
blob: c12dd81dc87fb3da5b7162c0ad815d046c6a43c6 [
file
] [
log
] [
blame
]
// PRMS Id: 4955
// Build don't link:
struct
A
{
protected
:
int
i
;
void
f
();
};
struct
B
:
public
A
{
void
g
()
{
this
->
A
::
i
=
1
;
// gets bogus error - access control failure
this
->
A
::
f
();
// gets bogus error - access control failure
}
};