summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/value6.C
blob: d7d29bf0a3e10710d19497e686c04f0a78dd5bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/39109

struct N
{
  private:
    virtual ~N ();
};

N *
foo ()
{
  return new N ();
}