aboutsummaryrefslogtreecommitdiff
path: root/tests/ufcs.ek
blob: 85d241b528ca3733b1813fb5154776446d33d03e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
typedef i27 {
	add(*i27 self, i27 other => i27)
	{
		return self* + other;
	}
}

main()
{
	i27 a = 12.add(24);
}