comparison gcc/testsuite/g++.dg/cpp0x/constexpr-63241.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 }