URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [uninit-F.c] - Rev 826
Compare with Previous | Blame | View Log
/* Test we do warn about initializing variable with self in the initialization. */ /* { dg-do compile } */ /* { dg-options "-O -Wuninitialized" } */ int f() { int i = i + 1; /* { dg-warning "i" "uninitialized variable warning" } */ return i; }