aboutsummaryrefslogtreecommitdiff
path: root/examples/issue-1.sil
blob: 28c695831c5bd4cbfee6a06178ae0509d93c3ace (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Int fst((Int, Int) tup) {
	return tup._1;
}

(Int, Int) swap((Int, Int) tup) {
	return (tup._2, tup._1);
}

Int main() {
	return fst(swap((1,10)));
}