typedef i27 {}
typedef i9 {}

typedef int_pair {
	i27 a;
	i27 b;

	sum(*int_pair self => i27)
	{
		return self*.a + self*.b;
	}
}

extern _putchar(i9 c);

main()
{
	mut p = int_pair!{.a = 1, .b = 2};
	i27 s = p.sum();
	_putchar('0' + s as i9);
	_putchar('\n');
}
