diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:49:58 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:49:58 +0100 |
| commit | 0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (patch) | |
| tree | a79b36c2f7009bc9c18023e53a466a5ad4777529 /tests | |
| parent | 59b30c1305ff6bcb63c673898893edcda19e27e4 (diff) | |
| download | crep-0dce637073c97752e436ee5a1d1e16bf3dc8e7b2.tar.gz | |
Add Tcl grammar and ABI compliance check
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test.tcl b/tests/test.tcl new file mode 100644 index 0000000..0123b9d --- /dev/null +++ b/tests/test.tcl @@ -0,0 +1,11 @@ +proc hello {} { + puts "Hello, World!" +} + +proc add {a b} { + return [expr {$a + $b}] +} + +proc complex_proc {name {age 0} args} { + puts "Name: $name, Age: $age, Args: $args" +} |
