Fix false FAIL due to uninitialized `i'.
This commit is contained in:
parent
e168686c08
commit
3e31985da5
@ -68,7 +68,7 @@ http://sourceware.org/ml/gdb-cvs/2008-04/msg00104.html
|
|||||||
+int
|
+int
|
||||||
+main (int argc, char **argv)
|
+main (int argc, char **argv)
|
||||||
+{
|
+{
|
||||||
+ int i = 0;
|
+ static int i = 0; /* `static' to start initialized. */
|
||||||
+ int j = 2;
|
+ int j = 2;
|
||||||
+
|
+
|
||||||
+ for (j = 0; j < 30; j++)
|
+ for (j = 0; j < 30; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user