DEADSOFTWARE

Добавлен тип SET
[dsw-obn.git] / src / test.c
index 059af717a19c98da40c7ebade7168065ce8a2f9c..9279c33f111597a3291344a5d3817c62fb0b6154 100644 (file)
@@ -10,16 +10,10 @@ static char source_test[] =
        "IMPORT Out;"
        ""
        "VAR"
-       "  i : INTEGER;"
+       "  s0 : SET;"
        ""
        "BEGIN"
-       "  i := 0;"
-       "  Out.Open();"
-       "  REPEAT"
-       "    Out.String('Count '); Out.Int(i, 0); Out.Ln;"
-       "    i := i + 1;"
-       "  UNTIL i < 4;"
-       "  Out.String('end'); Out.Ln;"
+       "  s0 := -{ 1, 3..6 } + { 3, 4, 10 };"
        "END Test."
 ;