arm: cleanup legacy ARM_PE code
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / fd-uninit-1.c
blob1084d1b4da28071a09a5500f79fe3c07d677b37a
1 /* Verify that we check for uninitialized values passed to functions
2 that we have special-cased state-machine handling for. */
4 int dup (int old_fd);
5 int not_dup (int old_fd);
7 int
8 test_1 ()
10 int m;
11 return dup (m); /* { dg-warning "use of uninitialized value 'm'" "uninit" } */
14 int
15 test_2 ()
17 int m;
18 return not_dup (m); /* { dg-warning "use of uninitialized value 'm'" } */