libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / Wstringop-overflow-72.c
blobc10773e90a364f3549c3e5e73aeffcf22ef6e9f5
1 /* PR middle-end/101854 - Invalid warning -Wstringop-overflow wrong argument
2 { dg-do compile }
3 { dg-options "-O2 -Wall" } */
5 struct A { int a[5]; };
7 struct A g (int*, int[6][8]);
9 struct A f (void)
11 int a[2];
12 return g (a, 0); // { dg-bogus "-Wstringop-overflow" }