1 2 3 4 5 6 7 8 9 10 11 12
discard """ errormsg: "type mismatch: got (mc.typ)" line: 12 """ import mb, mc proc test(testing: mb.typ) = discard var s: mc.typ test(s)