]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr54363.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr54363.c
CommitLineData
6f8f67e9
JJ
1/* PR c/54363 */
2/* { dg-do compile } */
3/* { dg-options "-std=gnu99" } */
4
5struct S { char **a; };
6
7void
8test (void)
9{
10 struct S b = { .a = (char **) { "a", "b" } }; /* { dg-warning "(initialization|excess elements)" } */
11 struct S c = { .a = (char *[]) { "a", "b" } };
12}