diff options
Diffstat (limited to 'tests/cmdline/cmd_compile_only_error.py')
| -rw-r--r-- | tests/cmdline/cmd_compile_only_error.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cmdline/cmd_compile_only_error.py b/tests/cmdline/cmd_compile_only_error.py new file mode 100644 index 000000000..326937a5c --- /dev/null +++ b/tests/cmdline/cmd_compile_only_error.py @@ -0,0 +1,6 @@ +# cmdline: -X compile-only +# test compile-only with syntax error +print("This should not be printed") +def broken_syntax( + # Missing closing parenthesis + return "error" |
