1 /* PR middle-end/83463 */
2 /* { dg-do compile } */
3 /* { dg-prune-output "conflicting types for built-in" } */
4 /* { dg-options "-O2 -Wrestrict -Wno-pointer-to-int-cast" } */
5
6 int *a;
7 void *memcpy ();
8 void
9 m (void *p1)
10 {
11 memcpy (0, p1, 0);
12 }
13
14 void
15 p ()
16 {
17 m (p + (long) a);
18 }
19
20 /* { dg-prune-output "\\\[-Wbuiltin-declaration-mismatch]" } */