This segfaults: ``` import ast from _testinternalcapi import compiler_codegen a = ast.parse("return 42", "my_file.py", "exec") compiler_codegen(a, "my_file.py", 0) ``` Expected SyntaxError (return not in function). <!-- gh-linked-prs --> ### Linked PRs * gh-115379 <!-- /gh-linked-prs -->