mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
8
vlib/sync/empty_struct_chan_init_test.v
Normal file
8
vlib/sync/empty_struct_chan_init_test.v
Normal file
@ -0,0 +1,8 @@
|
||||
struct User {
|
||||
}
|
||||
|
||||
fn test_empty_struct_chan_init() {
|
||||
user_ch := chan User{cap: 10}
|
||||
println(user_ch)
|
||||
assert true
|
||||
}
|
Reference in New Issue
Block a user