summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist-array5.C
blob: 12080a0ab4bb910c3fdd19138c0247bf78599b6b (plain)
1
2
3
4
5
6
7
// PR c++/80415
// { dg-do compile { target c++11 } }

struct A {
  A(int, int, const int (&)[1] = {});
};
A fn1() { return {0, 0}; }