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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
uninit-13.c
blob
5e88a8a945437227a8654056443d5207d41a30a5
1
/* { dg-do compile } */
2
/* { dg-options "-O -Wuninitialized" } */
3
4
typedef
_Complex
float
C
;
5
C
foo
()
6
{
7
C f
;
8
__imag__ f
=
0
;
9
return
f
;
/* { dg-warning "is used" "unconditional" } */
10
}