aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/fmt/tests/go_stmt_input.vv
blob: 3ccaf8f5b27148ec5bc10910c253e2ad8593c4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn my_thread() {
	   println('yo')
}

fn my_thread_with_params(s string)
{
 println(s)
}

fn my_fn_calling_threads ()  {
go my_thread()
  go    my_thread_with_params('yay')

  go
  	my_thread_with_params('nono')
}