summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclTest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 5f8d1f5..d615d8b 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -5678,7 +5678,11 @@ TestbytestringObjCmd(
Tcl_Obj *const objv[]) /* The argument objects. */
{
struct {
+#if !defined(TCL_NO_DEPRECATED)
int n; /* On purpose, not Tcl_Size, in order to demonstrate what happens */
+#else
+ Tcl_Size n;
+#endif
int m; /* This variable should not be overwritten */
} x = {0, 1};
const char *p;