Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-pr89296.c
blob9d81b32b9792586878eaf6e24ecfc65ea89fad9e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wuninitialized" } */
4 int get_a_value ();
5 void printk(const char *);
6 void test_func()
8 int loop;
9 while (!loop) { /* { dg-warning "is used uninitialized" } */
10 loop = get_a_value();
11 printk("...");