Commit 366d28ee by Paolo Carlini Committed by Paolo Carlini

re PR c++/63241 (Internal error in gimplify_init_constructor when using constexr…

re PR c++/63241 (Internal error in gimplify_init_constructor when using constexr and multidimensional arrays)

2014-09-17  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/63241
	* g++.dg/cpp0x/constexpr-63241.C: New.

From-SVN: r215326
parent 776c9a0d
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
......
// 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}}};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment