mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
9 lines
115 B
V
9 lines
115 B
V
fn ret_ten() int {
|
|
return 10
|
|
}
|
|
|
|
fn test_thread_str() {
|
|
th := spawn ret_ten()
|
|
assert th.str() == 'thread(int)'
|
|
}
|