diff --git a/Test.obn b/Test.obn
index f0552a93a06abbaed7841faf482aae3f99251f7f..ecfde58b9f0e5fadb5eb6a9a884a62ede7a56351 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT Out;
+TYPE
+ A = POINTER TO RECORD B : B; END;
+
+ B = POINTER TO RECORD x : A END;
VAR
- i : INTEGER;
+ a : A;
+
+PROCEDURE Do;
+ TYPE
+ ListPtr = POINTER TO ListNode;
+ ListNode = RECORD next: ListPtr END;
+BEGIN
+END Do;
BEGIN
- Out.Open;
- i := 48;
- FOR i := 32 TO i DO
- Out.Int(i, 0); Out.Char(' ');
- END;
- Out.Ln;
+ NEW(a);
+ a.B := NIL;
END Test.