Debian Codegraph @

src/test/01-Basic/11.ck

raw
1 // 11.ck : function with return type
2
3 // function
4 fun float f()
5 {
6 return 1.0;
7 }
8
9 // call
10 f() => float x;
11
12 // test
13 if( x == 1.0 ) <<<"success">>>;