micropython/ports/qemu-arm/test-frzmpy/frozen_viper.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
107 B
Python
Raw Normal View History

# Test freezing viper code.
import micropython
@micropython.viper
def viper_add(x, y):
print(x + y)