diff --git a/tests/tbf/tb0128.pp b/tests/tbf/tb0128.pp new file mode 100644 index 0000000000..14ca3a33ce --- /dev/null +++ b/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.