summaryrefslogtreecommitdiffstats
path: root/tests/pkg/global.tcl
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-08 20:14:02 (GMT)
committerstanton <stanton>1999-03-08 20:14:02 (GMT)
commitb825d52a6a6fc13fa86d2dd2b066dbc24ae954be (patch)
tree7ff9d7f16861bf93b582fd332bd79ffe4a8280a8 /tests/pkg/global.tcl
parent2efea334f7d59bc5e801dd8d131acd64c4ae7874 (diff)
downloadtcl-b825d52a6a6fc13fa86d2dd2b066dbc24ae954be.zip
tcl-b825d52a6a6fc13fa86d2dd2b066dbc24ae954be.tar.gz
tcl-b825d52a6a6fc13fa86d2dd2b066dbc24ae954be.tar.bz2
First pass at integrating stubs mechanism from 8.0.
Diffstat (limited to 'tests/pkg/global.tcl')
-rw-r--r--tests/pkg/global.tcl19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/pkg/global.tcl b/tests/pkg/global.tcl
new file mode 100644
index 0000000..38925c5
--- /dev/null
+++ b/tests/pkg/global.tcl
@@ -0,0 +1,19 @@
+# global.tcl --
+#
+# Test package for pkg_mkIndex.
+# Contains global symbols, used to check that they don't have a leading ::
+#
+# Copyright (c) 1998 by Scriptics Corporation.
+# All rights reserved.
+#
+# RCS: @(#) $Id: global.tcl,v 1.1 1998/10/17 00:21:40 escoffon Exp $
+
+package provide global 1.0
+
+proc global_lower { stg } {
+ return [string tolower $stg]
+}
+
+proc global_upper { stg } {
+ return [string toupper $stg]
+}