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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.dg
/
ext
/
complit3.C
blob
1783a08bdc7988dbce0d8dce5d8a0ce7c803cf49
1
// { dg-options "" }
2
3
int Compound_Literals_0()
4
{
5
static int y[] = (int []) {1, 2, 3}; // { dg-error "compound literal" }
6
static int z[] = (int [3]) {1}; // { dg-error "compound literal" }
7
return y[0]+z[0];
8
}