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
* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr43765.C
blob
800f2c7cbbb316be00c0a983ca0c2397caf0e64c
1
// PR c++/43765
2
// { dg-options "" }
3
4
struct SomeType
5
{
6
int n;
7
const char *values[];
8
};
9
const char *temp[] = {"607", "612", 0};
10
11
SomeType vals[] =
12
{
13
{ 0, values : temp, },
14
0
15
}; // { dg-error "GNU-style designated initializer for an array|cannot convert" }
16
// (note the error above is on the wrong line)
17