Fix false FAIL due to uninitialized `i'.

This commit is contained in:
Jan Kratochvil 2008-11-05 08:27:22 +00:00
parent e168686c08
commit 3e31985da5
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ http://sourceware.org/ml/gdb-cvs/2008-04/msg00104.html
+int
+main (int argc, char **argv)
+{
+ int i = 0;
+ static int i = 0; /* `static' to start initialized. */
+ int j = 2;
+
+ for (j = 0; j < 30; j++)