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

9 lines
107 B
Python

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