From: Stefan Behnel Date: Mon, 28 Apr 2008 08:34:24 +0000 (+0200) Subject: simple error test for undefined names X-Git-Tag: 0.9.6.14~12^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9207d005d634645bceb7bc8330ec3dac379da717;p=cython.git simple error test for undefined names --- diff --git a/tests/errors/undefinedname.pyx b/tests/errors/undefinedname.pyx new file mode 100644 index 00000000..4258f4b5 --- /dev/null +++ b/tests/errors/undefinedname.pyx @@ -0,0 +1,9 @@ +i = _this_global_name_does_not_exist_ + +def test(i): + return _this_local_name_does_not_exist_ + +_ERRORS = """ +1:37:undeclared name not builtin: _this_global_name_does_not_exist_ +4:43:undeclared name not builtin: _this_local_name_does_not_exist_ +"""