shithub: mc

ref: 4db5274a2f6db10e31e11c503f36c85a98c65fbc
dir: /test/fmtalign.myr/

View raw version
use std

pkg = 
    type msg = union
        `Tversion   tversion
    ;;
    type tversion = struct
        tag : uint16
        version : byte[:]
    ;;
;;

const main = {
    var msg=`Tversion [.tag=45, .version="9P2000"]
    std.put("{}\n", msg)
}