Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
fmt
/
tests
/
struct_fixed_array_ident_keep.vv
11
lines
·
9
sloc
·
194 bytes
·
c7acf27e06f1fb0a7cb99f28f985ce999d10aac6
Raw
1
import crypto.ed25519
2
3
struct SSHClientHello {
4
version u8
5
public_key [ed25519.public_key_size]u8
6
}
7
8
fn main() {
9
a := SSHClientHello{}
10
assert a.public_key.len == ed25519.public_key_size
11
}
12