codegen: Fix array size variable on assignment
[vala-lang.git] / tests / control-flow / break.vala
blob9eb35d0a0bc4ea2942053ee6bed1a2530e62c916
1 using GLib;
3 class Maman.Bar : Object {
4 public static int main () {
5 stdout.printf ("Break Test: 1");
7 int i;
8 for (i = 0; i < 10; i++) {
9 stdout.printf (" 2");
10 break;
13 stdout.printf (" 3\n");
15 return 0;
19 void main () {
20 Maman.Bar.main ();