Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-function1.C
blob: 86b319a68e53024e2f6f8e260c1f20aeb7037db7 [
file
] [
log
] [
blame
]
// PR bootstrap/66448
// { dg-options "-Wunused-function" }
struct
A
{
A
();
};
namespace
{
struct
B
:
virtual
A
{
B
();
};
B
::
B
()
{
}
B b
;
struct
C
:
virtual
A
{
C
();
};
C
::
C
()
{
}
// { dg-warning "defined but not used" }
}