Merge: Functional api
[nit.git] / tests / error_kern_attr_int.nit
index 18ef45e..7056d6d 100644 (file)
@@ -15,5 +15,7 @@
 # limitations under the License.
 
 redef class Int
-       attr _toto: Object
+       var toto: Object
 end
+
+1.toto.output