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
2013-05-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
array21.C
blob
fc6abab551b036ee81528eac1b7072f79cc4e71d
1
// PR c++/27722
2
3
void foo()
4
{
5
const int x[] = 0; // { dg-error "initializer" }
6
++x; // { dg-error "read-only|operand" }
7
}