PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69796.c
blobebf34aaa2164e53d487683c081f698c9ba8e2575
1 /* PR c/69796 */
2 /* { dg-do compile } */
4 struct S s; /* { dg-error "storage size of 's' isn't known" } */
6 void
7 foo ()
9 s a; /* { dg-error "expression statement has incomplete type|expected" } */