view gcc/testsuite/g++.dg/tree-ssa/deleted-label1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// PR debug/58315
// { dg-options "-O -g -fdump-tree-einline" }
// { dg-final { scan-tree-dump-not "DEBUG <L0>" "einline" } }

// We used to emit useless NOTE_INSN_DELETED_DEBUG_LABELs for the
// artificial cdtor_label.

struct A
{
  ~A() {}
};

struct B: A {};

int main()
{
  A a;
}