gcc/ChangeLog:
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-function1.C
blob86b319a68e53024e2f6f8e260c1f20aeb7037db7
1 // PR bootstrap/66448
2 // { dg-options "-Wunused-function" }
4 struct A { A(); };
5 namespace {
6   struct B: virtual A { B(); };
7   B::B() { }
8   B b;
10   struct C: virtual A { C(); };
11   C::C() { }                    // { dg-warning "defined but not used" }