aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/dwarf2/pr80234-2.C
blob: 145beacf6eb2c2983a4d9cab24f980a0facd43b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR debug/80234
// { dg-do compile }
// { dg-options "-gdwarf-5 -std=c++17" }

struct S
{
  static constexpr const char n = 'S';
  virtual ~S ();
};

constexpr const char S::n;

S::~S()
{
}