]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/initlist45.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist45.C
CommitLineData
bc99421e 1// PR c++/46289
4b2e63de 2// { dg-do compile { target c++11 } }
bc99421e
JM
3
4struct A
5{
6 int i[2];
7};
8
9struct B
10{
11 A a;
12 B(): a({{1,2}}) { }
13};
This page took 6.465836 seconds and 5 git commands to generate.