1 /* PR middle-end/86202 - ICE in get_range_info calling an invalid memcpy() 2 declaration */ 3 /* { dg-do compile } */ 4 /* { dg-options "-Wint-conversion" } */ 5 6 void *memcpy (void *, void *, __SIZE_TYPE__ *); /* { dg-warning "conflicting types for built-in function .memcpy." } */ 7 void *a, *b; f(void)8void f (void) 9 { 10 long unsigned int c = 0; 11 memcpy (a, b, c); /* { dg-warning "passing argument" } */ 12 } 13