aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/44_stmt_expr.sy
blob: a5f5bb5959930863db802457b4092a307235a48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int k;
const int n = 10;
int main () {
	int i = 0;
	k = 1;
	while (i <= n - 1) {
		i = i + 1;
		k + 1;
		k = k + k;
	}
	putint(k);
	return k;
}