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

struct A
{
  int arr[1];

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