OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
92e2033100ef7723c252bcf25e7b2e5acdc50637
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
complit3.C
1
// { dg-options "" }
2
3
int Compound_Literals_0()
4
{
5
static int y[] = (int []) {1, 2, 3}; // { dg-error "" }
6
static int z[] = (int [3]) {1}; // { dg-error "" }
7
return y[0]+z[0];
8
}