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