repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Doc: Add doc for standard name mask_len_strided_load{store}m
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist29.C
blob
494d6951581255be3388d480b1a6b1132b9c51cb
1
// PR c++/42331
2
// { dg-do compile { target c++11 } }
3
4
class Mesh
5
{
6
public:
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);