micropython/ports/qemu-arm/test-frzmpy/frozen_viper.py
Damien George 414b59d39c qemu-arm: Add tests for freezing viper and asm_thumb code.
Signed-off-by: Damien George <damien@micropython.org>
2022-02-24 18:29:02 +11:00

9 lines
107 B
Python

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