20 lines
341 B
C
20 lines
341 B
C
/* PR middle-end/83463 */
|
|
/* { dg-do compile } */
|
|
/* { dg-prune-output "conflicting types for built-in" } */
|
|
/* { dg-options "-O2 -Wrestrict -Wno-pointer-to-int-cast" } */
|
|
|
|
int *a;
|
|
void *memcpy ();
|
|
void
|
|
m (void *p1)
|
|
{
|
|
memcpy (0, p1, 0);
|
|
}
|
|
|
|
void
|
|
p ()
|
|
{
|
|
m (p + (long) a);
|
|
}
|
|
|
|
/* { dg-prune-output "\\\[-Wbuiltin-declaration-mismatch]" } */
|