summaryrefslogtreecommitdiff
path: root/test/pkgtrait.myr
blob: 3882634272287235f3bdbed0df5bade54bf59a20 (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 = {
	auto std.try(regex.compile(".*"))
	std.exit(42)
}