repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-F.c
blob
1dbb365e5b70729f6146ffcd936c1adcbb0a3100
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
}