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

9 wiersze
107 B
Python

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