summaryrefslogtreecommitdiff
path: root/tests/micropython/viper_cond.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/viper_cond.py')
-rw-r--r--tests/micropython/viper_cond.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/micropython/viper_cond.py b/tests/micropython/viper_cond.py
index d5ebf837b..752261ff5 100644
--- a/tests/micropython/viper_cond.py
+++ b/tests/micropython/viper_cond.py
@@ -10,6 +10,7 @@ def f():
f()
+
# using True as a conditional
@micropython.viper
def f():
@@ -20,6 +21,7 @@ def f():
f()
+
# using an int as a conditional
@micropython.viper
def g():
@@ -30,6 +32,7 @@ def g():
g()
+
# using an int as a conditional that has the lower 16-bits clear
@micropython.viper
def h():