blob: 9ae3464d1e2de8c0095932afe7811ecf7c291d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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)
}
|