shithub: mc

ref: 1ed38b41793a7e5eac6c8280749ccf066577fa68
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)
}