code: 9ferno

ref: 83246e296ea433b65b9d295b5e08fedd39ff1ab7
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;
}