repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wuninitialized-10.C
blob
1fd8b1d306920b5e10256b28eef54483576d735c
1
// { dg-do compile }
2
// { dg-options "-Wuninitialized" }
3
4
struct A
5
{
6
int f,g;
7
8
A()
9
{
10
f = g; // { dg-warning "g. is used uninitialized" }
11
}
12
};
13
14
A a;