code: 9ferno

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