Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility7.C
blob: 670547dd2e377f1ba9363d35b43b0f8a749bee36 [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed visibility
class
X
{
public
:
void
fn
();
// ERROR - .*
};
class
Y
:
private
X
{};
class
Unrelated
{
public
:
void
foo
()
{
Y y
;
y
.
fn
();
}
// ERROR - .*
};