diff --git a/Test.obn b/Test.obn
index 0b020f71a79862e5a3510e07528b982ea6a21749..ecfde58b9f0e5fadb5eb6a9a884a62ede7a56351 100644 (file)
--- a/Test.obn
+++ b/Test.obn
MODULE Test;
-IMPORT
- Out,
- System;
+TYPE
+ A = POINTER TO RECORD B : B; END;
+
+ B = POINTER TO RECORD x : A END;
+
+VAR
+ a : A;
+
+PROCEDURE Do;
+ TYPE
+ ListPtr = POINTER TO ListNode;
+ ListNode = RECORD next: ListPtr END;
+BEGIN
+END Do;
BEGIN
- Out.Open;
- Out.String("Hello World!"); Out.Ln;
- System.Halt(1);
+ NEW(a);
+ a.B := NIL;
END Test.