summaryrefslogtreecommitdiff
path: root/test/implexpr-concrete.myr
blob: 9d5eeb1808d7923339228329b7561dfd15fcf94e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std

trait name @a =
	Name: byte[:]
;;
impl name void =
	Name = "zig"
;;
impl name int =
	Name = "zag"
;;

const main = {
	std.put("{}{}\n", impl(Name, void), impl(Name, int))
}