☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
func
/
func_overload.ck
☽
☼
examples/func/func_overload.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// 35.ck : overloading functions
2
3
4
fun void foo( int a, int b )
5
{ <<<"success">>>; }
6
7
fun void foo( int a )
8
{ foo( a, a ); }
9
10
// call
11
foo( 2 );