summaryrefslogtreecommitdiff
path: root/tests/statements-jump.vala
blob: 6566f93494026dbbba043a523e7b4c12a67045ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using GLib;

class Maman.Bar : Object {
	static int main (string[] args) {
		stdout.printf ("Break Test: 1");
		
		int i;
		for (i = 0; i < 10; i++) {
			stdout.printf (" 2");
			break;
		}
		
		stdout.printf (" 3\n");
		
		return 0;
	}
}