module main

type Function = fn (int)

struct MyStruct {
	func Function @[required]
}

fn implementation(size int) {
	println('size is ${size}')
}

fn main() {
	m := MyStruct{
		func: implementation
	}
	println('${m}')
}
