shithub: mc

ref: cec7bf1244ec1c3f4fbd8c6edb8cddd72d82ed92
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)
}