Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52086.c
bloba12e1ce79280bc9faf2d8baa7ed71686aedd3667
1 /* PR target/52086 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-fpic" { target fpic } } */
6 struct S { char a; char b[100]; };
7 int bar (void);
8 int baz (int);
10 void
11 foo (struct S *x)
13 if (bar () & 1)
15 char c = bar ();
16 baz (4);
17 x->a += c;
18 while (x->a)
19 x->b[c] = bar ();