aboutsummaryrefslogtreecommitdiff
path: root/tests/callbacks.ek
blob: 927c122848e5d3bfd10aa59418bfc76091e46acb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef i27 {}

do_stuff(^(i27 => i27) proc => i27)
{
	return proc(20);
}

other_proc(i27 a => i27)
{
	return a + 10;
}

main()
{
	do_stuff(other_proc);
}