Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-69.c
blobb754b5d26ee7a4f2e86ca249b011449c8e337e02
1 /* PR middle-end/86308 - ICE in verify_gimple calling index() with
2 an invalid declaration
3 { dg-do compile }
4 { dg-options "-O2 -Wall" } */
6 int index (int, int); /* { dg-warning "conflicting types for built-in function .index.; expected .char \\\*\\\(const char \\\*, int\\\)." } */
8 int test_index (void)
10 return index (0, 0);
14 /* PR middle-end/86202 - ICE in get_range_info calling an invalid memcpy()
15 declaration */
17 void *memcpy (void *, void *, __SIZE_TYPE__ *); /* { dg-warning "conflicting types for built-in function .memcpy.; expected .void \\\*\\\(void \\\*, const void \\\*, \(long \)*unsigned int\\\)." } */
19 void test_memcpy (void *p, void *q, __SIZE_TYPE__ *r)
21 memcpy (p, q, r);