PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr62294.c
blobc6ec5a75369fb25f2c6bb677a1093840b3bcb215
1 /* PR c/62294 */
2 /* { dg-do compile } */
4 #include "pr62294.h"
6 void
7 fn (int *u)
9 foo (u); /* { dg-error "passing argument 1 of .bar. from incompatible pointer type" } */