summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/nsdmi-aggr1.C
blob: e07d392a66477880fbb46c4b852821a194c809d4 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/65815
// { dg-do compile { target c++11 } }

struct array {
  int data [2];
};

struct X {
  array a = { 1, 2 };
};