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
Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init8.C
blob
0b4b2945cd83c53216b5642091eba37216375a81
1
// { dg-do assemble }
2
3
// submitted by David C Binderman <dcb@pncl.co.uk>
4
5
// According to [dcl.init]/9, this should be ill-formed
6
7
void
8
f()
9
{
10
const int var [ 10 ]; // { dg-error "" } missing initializer
11
}