Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
ctor-dtor-privacy-1.C
blob: 3e84c092168591da201aeec47fac7c8eec8237e9 [
file
] [
log
] [
blame
]
// { dg-options "-Wctor-dtor-privacy" }
struct
C
{
// { dg-warning "" }
static
bool
result
;
private
:
static
bool
check
();
};
bool
C
::
result
=
check
();