shithub: mc

ref: 858ba07669c28ac1e8e88ef0283fb71615cd86c4
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)
}