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

struct S {
  constexpr S() { }
};

constexpr S s[][1] = {
    { S() }
};