Differences From Artifact [8ffdbeb52f]:
- Executable file test — part of check-in [92a72f9f80] at 2014-06-15 20:06:39 on branch trunk — Improved error handling (user: rkeene, size: 455) [annotate] [blame] [check-ins using]
To Artifact [cf0138864c]:
- Executable file test — part of check-in [f2439e25b6] at 2014-06-15 20:08:43 on branch trunk — Added test case for multiple arguments (user: rkeene, size: 553) [annotate] [blame] [check-ins using]
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + + + + | catch { tcc4tcl::cproc test2 {int i} int { badcode; } } # This should work tcc4tcl::cproc test3 {int i} int { return(i+42); } # Multiple arguments tcc4tcl::cproc add {int a int b} int { return(a+b); } puts [test 1] puts [test1 1] puts [test3 1] puts [::bob::test1 1] puts [add [test 1] 1] |