micropython/tests/feature_check/native_check.py

9 lines
111 B
Python

# this test for the availability of native emitter
@micropython.native
def f():
pass
f()
print("native")