code: 9ferno

ref: 21336d544ae90e20070fd7c8be67f3f2c9ccbe38
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;
}