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