icode: add automatic tests for virtual type parameters in methods
[nit.git] / tests / base_inline_closure_escape3.nit
index f1358a6..d441fe3 100644 (file)
@@ -31,15 +31,19 @@ class Inline__
        end
 end
 
+fun maybe: Bool do return true
+
 var a = new Inline__
 a.foo !f do
        do
                a.foo !f do
+                       if maybe then
                        #alt1#break label l1
                        #alt2#break label l2
                        #alt3#break label l3
                        #alt4#continue label l1
                        #alt5#continue label l2
+                       end
                        1.output
                end label l1
                3.output