X-Git-Url: http://nitlanguage.org diff --git a/tests/gccbug_attribute_access.nit b/tests/gccbug_attribute_access.nit index 1005b39..07f389a 100644 --- a/tests/gccbug_attribute_access.nit +++ b/tests/gccbug_attribute_access.nit @@ -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