# test compile builtin
try:
compile
except NameError:
print("SKIP")
import sys
sys.exit()
c = compile("print(x)", "file", "exec")
exec(c)
print("NameError")
x = 1
exec(c, {"x":2})
exec(c, {}, {"x":3})