Skip to content
Snippets Groups Projects
Commit 5455db23 authored by Jason Merrill's avatar Jason Merrill
Browse files

re PR c++/11063 (ICE on parsing initialization list of const array member)

        PR c++/11063
        * typeck.c (build_modify_expr): Call convert rather than abort.

From-SVN: r72495
parent 182609b5
No related branches found
No related tags found
No related merge requests found
// PR c++/11063
class Foo
{
private:
const int val_[2];
public:
Foo(int, int);
};
Foo::Foo(int v0, int v1)
: val_((int[]) {v0, v1})
{
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment