* treelang/compile/var_defs.tree: Adjust.
From-SVN: r119628
This commit is contained in:
parent
ff4ecab8a5
commit
e92df3ed98
|
@ -1,3 +1,7 @@
|
|||
2006-12-07 Mike Stump <mrs@apple.com>
|
||||
|
||||
* treelang/compile/var_defs.tree: Adjust.
|
||||
|
||||
2006-12-06 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR c++/29730
|
||||
|
|
|
@ -13,12 +13,12 @@ condition
|
|||
{
|
||||
if (arg1)
|
||||
{
|
||||
automatic int i;
|
||||
return i + 1; // { dg-warning "uninitialized" }
|
||||
automatic int i; // { dg-warning "was declared here" }
|
||||
return i + 1; // { dg-warning "uninitialized" }
|
||||
}
|
||||
else
|
||||
{
|
||||
automatic int j;
|
||||
return j; // { dg-warning "uninitialized" }
|
||||
automatic int j; // { dg-warning "was declared here" }
|
||||
return j; // { dg-warning "uninitialized" }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue