aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/block_expr_scope.zc
blob: 0ac644ad30aad8667528267c54b8ef5d6782300a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// expect: 8/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
	int t = 8;
	let v = { int t = 100; t + 1 };
	pn(t);
	return 0;
}
// zc0: skip