-- main.mcl --
# simple function definition containing function to be returned
func funcgen() {
	func() {
		"hello"
	}
}

$fn = funcgen()
$out = $fn()

test "${out}" {}
-- OUTPUT --
Edge: FuncValue -> call # fn
Edge: call -> callSubgraphOutput # dummy
Edge: call -> callSubgraphOutput # dummy
Edge: callSubgraphOutput -> call # fn
Vertex: FuncValue
Vertex: call
Vertex: call
Vertex: callSubgraphOutput
Vertex: callSubgraphOutput
