(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
debug/
pr72808.C
// PR c++/72808
// { dg-do compile }
// { dg-options "-g -std=c++14" }

struct A
{
  virtual void foo ();
};

struct B : A
{
  void foo ();
  enum C : int;
};

enum B::C : int
{
  D
};

void
B::foo ()
{
}