Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility9.C
blob: 4ebdc696217999b451855882d8e7f80d6e1d2aba [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed visibility
class
A
{
public
:
void
aMethod
(
void
)
{};
// { dg-message "" } .*
};
class
AA
:
A
{
};
class
B
{
public
:
void
thisMethod
()
{
AA ana
;
ana
.
aMethod
();
// { dg-error "" } .*
}
};