builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wint-conversion-2.c
blobbf590a7bcd7d0c963bd78558666c19d22ddcb57f
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" } */
6 void *memcpy (void *, void *, __SIZE_TYPE__ *); /* { dg-warning "conflicting types for built-in function .memcpy." } */
7 void *a, *b;
8 void f (void)
10 long unsigned int c = 0;
11 memcpy (a, b, c); /* { dg-warning "passing argument" } */