update NOTICE and LICENSE
[nit.git] / tests / gccbug_attribute_access.nit
index 1005b39..d595cdf 100644 (file)
@@ -21,8 +21,8 @@
 # * try to change the optimization flags
 # * try to update your gcc version
 class Foo
-       attr _count: Int
-       meth run: Int
+       var _count: Int = 0
+       fun run: Int
        do
                # Under some case gcc produce bad code here and make the if
                # evaluate the old _count value