peter 25 years ago
parent
commit
96900b2280
1 changed files with 26 additions and 0 deletions
  1. 26 0
      tests/tbs/tbs0330.pp

+ 26 - 0
tests/tbs/tbs0330.pp

@@ -0,0 +1,26 @@
+{$ifdef fpc}{$mode objfpc}{$endif}
+uses
+  Classes;
+
+type
+  TMyClass = class(TPersistent);
+
+var
+  MyVar: Integer;
+
+
+type
+  TMyClass2 = class(TObject)
+    procedure MyProc;
+  end;
+
+  TMyOtherClass = class(TPersistent);
+
+procedure TMyClass2.MyProc;
+var
+  MyImportantVar: Integer;
+begin
+end;
+
+begin
+end.