builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr89500.c
blobdb7c27bec05c7f2af3d5d181037f9cf33a3c2397
1 /* PR tree-optimization/89500 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 typedef __SIZE_TYPE__ size_t;
6 extern size_t strlen (const char *);
7 extern size_t strnlen (const char *, size_t);
8 extern void bar (char *);
10 void
11 foo (int *a)
13 char c[64];
14 bar (c);
15 a[0] = strlen (c);
16 a[1] = strnlen (c, 0);