Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/uninit-F-O0.c @ 117:f81c5aa9f14f
fix
author | mir3636 |
---|---|
date | Tue, 28 Nov 2017 21:17:15 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Test we do warn about initializing variable with self in the initialization. */ /* { dg-do compile } */ /* { dg-options "-Wuninitialized" } */ int f() { int i = i + 1; /* { dg-warning "i" "uninitialized variable warning" } */ return i; }