tests: adding contract testing files
[nit.git] / tests / sav / contracts_inheritance.res
diff --git a/tests/sav/contracts_inheritance.res b/tests/sav/contracts_inheritance.res
new file mode 100644 (file)
index 0000000..65c6bf5
--- /dev/null
@@ -0,0 +1,6 @@
+contracts_inheritance.nit:58,6--9: Warning: conflicting property definitions for property `toto` in `MySubArray`: contracts_inheritance$MyArrayInt$toto contracts_inheritance$MyArrayInt2$toto
+Runtime error: Assert 'ensures' failed (contracts_inheritance.nit:32)
+toto MyArrayInt2
+toto MyArrayInt
+toto ArrayInt
+Good