X-Git-Url: https://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=Test.obn;h=da60894a8f758fa1ea09b7ef7f8195caa7367b55;hp=ecfde58b9f0e5fadb5eb6a9a884a62ede7a56351;hb=dd188cb697c08d52aefb144a4f3a943dbf3388c5;hpb=674b8e806962b40992601aca7f1234103a3aefb0 diff --git a/Test.obn b/Test.obn index ecfde58..da60894 100644 --- a/Test.obn +++ b/Test.obn @@ -1,21 +1,11 @@ MODULE Test; -TYPE - A = POINTER TO RECORD B : B; END; +PROCEDURE A; +END A; - B = POINTER TO RECORD x : A END; +PROCEDURE B; + PROCEDURE A; + END A; +END B; -VAR - a : A; - -PROCEDURE Do; - TYPE - ListPtr = POINTER TO ListNode; - ListNode = RECORD next: ListPtr END; -BEGIN -END Do; - -BEGIN - NEW(a); - a.B := NIL; END Test.