Merge: Contract: Change mpropdef driving
[nit.git] / tests / error_fun_ret3.nit
index 4db8276..bba3eaf 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth toto: Int
+fun toto: Int
 do
        if false then
        else
                return 1
        end
 end
+
+toto.output