1 // PR c++/42331
2 // { dg-do compile { target c++11 } }
3 
4 class Mesh
5 {
6 public:
Mesh(const char *)7   Mesh(const char*)
8   { typele={0}; }		// { dg-error "11:assigning to an array from an initializer list" }
9 
10 private:
11   int typele[7][2];
12 };
13 
14 Mesh m(0);
15