blob: 1e4d08fd869446cad12386e858951b3a7c4573b9 [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 "" }
{
}