[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / deleted-label1.C
blobe9666dae671fedfb1158dc7fa5fe4c228bac2021
1 // PR debug/58315
2 // { dg-options "-O -g -fdump-tree-einline" }
3 // { dg-final { scan-tree-dump-not "DEBUG <L0>" "einline" } }
5 // We used to emit useless NOTE_INSN_DELETED_DEBUG_LABELs for the
6 // artificial cdtor_label.
8 struct A
10   ~A() {}
13 struct B: A {};
15 int main()
17   A a;