Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility10.C
blob: 4eb3cae805058587fc1267873724967498c64612 [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed visibility
struct
base
{
protected
:
void
base_func
()
{}
// ERROR - .*is protected.*
};
struct
derived
:
public
base
{
protected
:
void
derived_func
(
base
*
ptr
)
{
ptr
->
base_func
();
}
// ERROR - within this context
};