Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr54981.c
blobaa77d60c44d8e05726f332b3f822b3f54fff2aa8
1 /* { dg-do compile } */
2 /* { dg-options "-O -ftree-loop-distribute-patterns -fcompare-debug" } */
4 extern void bar(unsigned *, char *);
6 void foo(char *s)
8 unsigned i;
9 char t[2];
11 bar(&i, t);
13 for (i = 0; i < 2; i++)
14 s[i] = t[i];