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

struct A {
  const int m;
};

A a1 = {};

struct B {
  A a;
};

B b1 = {};