summaryrefslogtreecommitdiffstats
path: root/tests/coverage/while.coverage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/while.coverage')
-rw-r--r--tests/coverage/while.coverage6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/coverage/while.coverage b/tests/coverage/while.coverage
new file mode 100644
index 000000000..c9d497651
--- /dev/null
+++ b/tests/coverage/while.coverage
@@ -0,0 +1,6 @@
+ LL| 1|fn main() {
+ LL| 1| let num = 9;
+ LL| 1| while num >= 10 {
+ LL| 0| }
+ LL| 1|}
+