summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr46367.C
blob: 260b5c11346faa14f6914bed129639eddc079689 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma interface
struct S
{
  S *s;
  ~S ()
  {
    delete s;
  }
};

S s;