(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
constexpr-virtual21.C
// PR c++/93413
// { dg-do compile { target c++20 } }

struct Base {
  virtual ~Base() = default;
};
constexpr Base b;

struct Derived : Base { };
constexpr Derived d;