Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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" }
}