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