shithub: mc

ref: 76c34b542f0b5c0cd6cc60a9cef9d53b6fc899d1
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.fmt("{}\n", msg)
}