Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
visibility5.C
blob: 7333470f6eb16816914d4c1829a9e71a0ca4db9d [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed visibility
class
a
{
private
:
a
(
int
i
);
// { dg-message "" } .*
public
:
a
();
};
void
test
()
{
a
*
ap
=
new
a
;
a
*
ap2
=
new
a
(
3
);
// { dg-error "" } .*
}