1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/sync/empty_struct_chan_init_test.v

9 lines
116 B
V
Raw Normal View History

struct User {
}
fn test_empty_struct_chan_init() {
user_ch := chan User{cap: 10}
println(user_ch)
assert true
}