type IoS = int | string

fn sum() {
	match IoS(1) {
		byte {
			println('not cool')
		}
	}
}

interface Animal {
	speak()
}

struct Dog {}

fn (d Dog) speak() {}

struct Cat {}

fn iface() {
	a := Animal(Dog{})
	match a {
		Cat {
			println('not cool either')
		}
		else {}
	}
}
