summaryrefslogtreecommitdiff
path: root/test/pkgtrait.myr
blob: 7825937ca1a87a23a19f31876838440270966cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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(".*"))
}