ref: b15530cbcde987747b8506125b73c70ca7656438
dir: /test/matchptr.myr/
use std const main = { var x : std.option(std.option(int)#) x = `std.Some &(`std.Some 123) match x | `std.Some &(`std.None): std.put("failed\n") | `std.Some &(`std.Some 666): std.put("failed\n") | `std.Some &(`std.Some 123): std.put("worked\n") | _: std.put("failed\n") ;; }