blob: ab2b038fe341d89ac21d72969730db44969159ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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 "" "" }
{
}
|