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