Check-in [f2439e25b6]
Overview
Comment:Added test case for multiple arguments
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f2439e25b6615e4c6e74f4d53cf64e959cdc3c1f
User & Date: rkeene on 2014-06-15 20:08:43
Other Links: manifest | tags
Context
2014-06-15
20:11
tcc4tcl 0.18 check-in: a8b14ae0a1 user: rkeene tags: trunk
20:08
Added test case for multiple arguments check-in: f2439e25b6 user: rkeene tags: trunk
20:06
Improved error handling check-in: 92a72f9f80 user: rkeene tags: trunk
Changes

Modified test from [8ffdbeb52f] to [cf0138864c].

    11     11   catch {
    12     12   	tcc4tcl::cproc test2 {int i} int { badcode; }
    13     13   }
    14     14   
    15     15   # This should work
    16     16   tcc4tcl::cproc test3 {int i} int { return(i+42); }
    17     17   
           18  +# Multiple arguments
           19  +tcc4tcl::cproc add {int a int b} int { return(a+b); }
           20  +
    18     21   puts [test 1]
    19     22   puts [test1 1]
    20     23   puts [test3 1]
    21     24   puts [::bob::test1 1]
           25  +puts [add [test 1] 1]