aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/ident_positional_words_as_names.zc
blob: c4ee2962539ce4f5913b7c3dc6b66fb12ba82115 (plain) (blame)
1
2
3
4
5
6
7
8
// expect: 21/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
	int fn = 1, const = 2, fixed = 3, static = 4, case = 5, default = 6;
	pn(fn + const + fixed + static + case + default);
	return 0;
}