PR c++/63241
* g++.dg/cpp0x/constexpr-63241.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215326
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-09-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/63241
+ * g++.dg/cpp0x/constexpr-63241.C: New.
+
2014-09-17 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/62768
--- /dev/null
+// PR c++/63241
+// { dg-do compile { target c++11 } }
+
+struct A {
+ constexpr A(int){}
+};
+
+int main() {
+ int i = 1;
+ A array[2][2] =
+ {{{0}, {i}},
+ {{0}, {0}}};
+}