summaryrefslogtreecommitdiff
path: root/tests/farm/html/src/partial.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/farm/html/src/partial.py')
-rw-r--r--tests/farm/html/src/partial.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/farm/html/src/partial.py b/tests/farm/html/src/partial.py
new file mode 100644
index 0000000..8d62f5c
--- /dev/null
+++ b/tests/farm/html/src/partial.py
@@ -0,0 +1,18 @@
+# partial branches
+
+a = 3
+
+while True:
+ break
+
+while 1:
+ break
+
+while a: # pragma: no branch
+ break
+
+if 0:
+ never_happen()
+
+if 1:
+ a = 13