code: 9ferno

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