scope: refuse `&x` where x is a local variable
[nit.git] / tests / error_redef4.nit
index cf2d3c9..8b2f3f1 100644 (file)
@@ -17,3 +17,5 @@ import error_redef4_base
 redef class A end
 redef class A end
 
+var a = new A
+a.output