X-Git-Url: http://nitlanguage.org diff --git a/tests/icode_dmr_simple.nit b/tests/icode_dmr_simple.nit new file mode 100644 index 0000000..5d3e6eb --- /dev/null +++ b/tests/icode_dmr_simple.nit @@ -0,0 +1,16 @@ + +class A + fun foo do + #alt2#bar + print "foo" + end + + fun bar do + #alt3#foo + print "bar" + end +end + +var a = new A +a.foo +#alt1#a.bar