summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor3.C
blob: d5bfbad3d67ef2becb55ccee98623ffe1ec14ff9 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/46348
// { dg-options -std=c++0x }

struct A
{
  int arr[1];

  constexpr A()
  : arr() { }
};