tests: improve error tests on --keep-going by adding usage of broken things
[nit.git] / tests / error_meth_2def2.nit
index 8e10ea6..48c63a4 100644 (file)
@@ -18,3 +18,6 @@ class A
        fun toto(a: Int) do end
        fun toto(a: Int): Int do return 0 end
 end
+
+var a = new A
+a.toto(1).output