shithub: mc

ref: d359a98ab9cfc42de66ad35333bd6d6c0571b7ca
dir: /test/pkgtrait.myr/

View raw version
use std
use regex

impl disposable regex.regex# =
	__dispose__ = {r
		regex.free(r)
	}
;;

const main = {
	var auto r : regex.regex#
	r = std.try(regex.compile(".*"))
	std.exit(42)
}