projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr54363.c
1
/* PR c/54363 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99" } */
4
5
struct S { char **a; };
6
7
void
8
test (void)
9
{
10
struct S b = { .a = (char **) { "a", "b" } }; /* { dg-warning "(initialization|excess elements)" } */
11
struct S c = { .a = (char *[]) { "a", "b" } };
12
}