tests: add outputs for module_0 and module_1
authorJean Privat <jean@pryen.org>
Tue, 21 Jul 2015 18:25:19 +0000 (14:25 -0400)
committerJean Privat <jean@pryen.org>
Tue, 21 Jul 2015 20:36:33 +0000 (16:36 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/module_0.nit
tests/module_1.nit
tests/sav/module_0.res [new file with mode: 0644]
tests/sav/module_1.res [new file with mode: 0644]

index 5e06135..aba5aca 100644 (file)
@@ -35,5 +35,6 @@ end
 class Sys
        fun main
        do
+               print(0)
        end
 end
index f614cfe..77f46db 100644 (file)
@@ -68,3 +68,18 @@ class B # class 2
           a123
    end
 end
+
+var a = new A
+a.a1
+a.a12
+a.a13
+a.a123
+
+var b = new B
+b.a1
+b.a12
+b.a13
+b.a123
+
+b.all2
+b.all25
diff --git a/tests/sav/module_0.res b/tests/sav/module_0.res
new file mode 100644 (file)
index 0000000..573541a
--- /dev/null
@@ -0,0 +1 @@
+0
diff --git a/tests/sav/module_1.res b/tests/sav/module_1.res
new file mode 100644 (file)
index 0000000..13eabd1
--- /dev/null
@@ -0,0 +1,34 @@
+1
+1
+12
+1
+13
+1
+123
+1
+1
+1
+12
+2
+13
+1
+123
+2
+1
+1
+12
+2
+13
+1
+123
+2
+250
+2
+1
+1
+12
+2
+13
+1
+123
+2