mirror of
https://github.com/micropython/micropython.git
synced 2025-09-04 17:00:30 +02:00
Because this port now supports multiple architectures. Signed-off-by: Damien George <damien@micropython.org>
9 lines
107 B
Python
9 lines
107 B
Python
# Test freezing viper code.
|
|
|
|
import micropython
|
|
|
|
|
|
@micropython.viper
|
|
def viper_add(x, y):
|
|
print(x + y)
|