@@ -1,12 +1,12 @@
type
- p=^p;
- p2 = ^p2;
+ p=^p2;
+ p2 = ^p;
var a:p;
a2:p2;
begin
- a:=a2;
+ a:=@a2;
a:=a2^;
end.
@@ -1,8 +1,8 @@
-unit unit2;
+unit tbs0139;
interface
uses
- objpas, bug0139a;
+ objpas, tbs0139a;
AnotherClass=class(SomeClass)
@@ -1,4 +1,4 @@
- unit bug0139a;
+ unit tbs0139a;
@@ -12,7 +12,7 @@ type
end;
implementation
-uses bug0140a;
+uses tbs0140a;
constructor TObject.Init(aPar:byte);
@@ -1,9 +1,9 @@
-unit bug0140a;
+unit tbs0140a;
-uses bug0140;
+uses tbs0140;
procedure Message(var O:TObject);
-unit bug0149a;
+unit tbs0149a;
@@ -1,11 +1,11 @@
{there is no crash when tset or c from unit a are used in OuterProcedure,
it's only a problem when using them in a nested procedure/function}
-unit bug0149b;
+unit tbs0149b;
-uses t2a;
+uses tbs0149a;