3 // Running the test code produces the output "0" instead of the
6 // The break statement exits both for-loops (not just the innermost
7 // one) if the (single statement) body of the outer for-loop is not
8 // enclosed in braces. Affects more deeply nested loops in the same
13 public static void main (String argv
[])
17 for (i
= 0; i
< 5; i
++)
18 for (j
= 0; j
< 2; j
++)
25 // We print a newline here because otherwise the DejaGNU log
26 // file is screwed up.
27 System
.out
.println ();