code: 9ferno

ref: 1daffb595e063fdfb42da7ee86d202d5055bd0a1
dir: /tests/3.b/

View raw version
implement Sample;

Person : adt
{
	age : int;
	name : string;
};

Sample: module
{
	init: fn();
};

init()
{
	a := 1;
	b := 3;
	c : int;
	d : Person;

	d.age = 10;
	d.name = "person name";
	c = a*b + b*b*b*b + a;
}