summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/gc4.C
blob: 50c16b366db79a25b9bbbf6323d9197a280ccdef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/41120
// { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" }

struct A
{
  A();
};

struct B
{
  A a;
};

B b;