shithub: mc

ref: 8a662861ad3ded8e965ab43e5bc254dd7ee85815
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)
}