blob: bcca8ac1e22d696d7507bfe6b682727c9643ade7 [file] [log] [blame]
// PR c++/11063
// { dg-options "" }
class Foo
{
private:
const int val_[2];
public:
Foo(int, int);
};
Foo::Foo(int v0, int v1)
: val_((int[]) {v0, v1})
{ // { dg-error "" "" }
}