Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr109450-2.c
blob06799f6df23fbbb60789c537b644099e2f1c0292
1 /* PR c/109450
2 * { dg-do run }
3 * { dg-options "-std=gnu99" }
4 * */
6 int bar(int n, struct foo *x) /* { dg-warning "not be visible" } */
8 int a = n;
9 struct foo { char buf[a++]; }* p = x;
10 return n == a;
13 int main()
15 if (bar(1, 0))
16 __builtin_abort();