tests: improve base_attr_init_val_block.nit to test bad returns
[nit.git] / tests / warn_par.nit
1
2 fun foo(): Int
3 do
4 if (true) then end
5 while (true) do break
6 for x in ([5]) do end
7 return (5)
8 end
9
10 var x = (foo())
11 print x