PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / empty2.c
blobacc1ac8ddcb4a10158467b599c48bbae64f01c7e
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic" } */
3 double d=0;
5 struct A {} a; /* { dg-warning "struct has no members" } */
7 void foo(struct A x)
9 d=0;
12 void bar()
14 if (d) foo(a);