summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 12:49:58 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 12:49:58 +0100
commit0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (patch)
treea79b36c2f7009bc9c18023e53a466a5ad4777529 /tests
parent59b30c1305ff6bcb63c673898893edcda19e27e4 (diff)
downloadcrep-0dce637073c97752e436ee5a1d1e16bf3dc8e7b2.tar.gz
Add Tcl grammar and ABI compliance check
Diffstat (limited to 'tests')
-rw-r--r--tests/test.tcl11
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"
+}