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
decl.c (create_array_type_for_decl): Add location_t parameter and use it.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
array-refs.C
blob
e50e9eb7af6753b0ae810dcb47c4eaeb7c7997c4
1
// { dg-do assemble }
2
// GROUPS passed arm
3
int a, b;
4
5
// declaring an array of references should be illegal
6
int & v[ 2] = { a, b}; // { dg-error "7:declaration of .v. as array of references" }