From 0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 22 Jan 2026 12:49:58 +0100 Subject: Add Tcl grammar and ABI compliance check --- tests/test.tcl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test.tcl (limited to 'tests') 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" +} -- cgit v1.2.3