Browse Source

* don't allow initialzed threadvars

peter 23 years ago
parent
commit
36febe5d48
1 changed files with 11 additions and 0 deletions
  1. 11 0
      tests/tbf/tb0128.pp

+ 11 - 0
tests/tbf/tb0128.pp

@@ -0,0 +1,11 @@
+{ %version=1.1 }
+{ %fail }
+
+{$mode delphi}
+{$threading on}
+
+threadvar
+  { Initializing threadvars is not allowed }
+  p : longint = 1;
+begin
+end.