]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/uninit-F.c.expected
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / uninit-F.c.expected
1 /* Test we do warn about initializing variable with self in the initialization. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wuninitialized" } */
4
5 int f()
6 {
7   int i = i + 1; /* { dg-warning "i" "uninitialized variable warning" }  */
8   return i;
9 }