]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-63241.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-63241.C
1 // PR c++/63241
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 constexpr A(int){}
6 };
7
8 int main() {
9 int i = 1;
10 A array[2][2] =
11 {{{0}, {i}},
12 {{0}, {0}}};
13 }
This page took 0.038453 seconds and 5 git commands to generate.