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