summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr61324.C
blob: 610257436b3bd1b012fc1f11c4a6867c6fdbd858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile }
// { dg-options "-O -fkeep-inline-functions -fno-use-cxa-atexit" }
void foo ();

struct S
{
  ~S ()
  {
    foo ();
  }
};

S s;