summaryrefslogtreecommitdiffstats
path: root/tests/coverage/tight_inf_loop.coverage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/tight_inf_loop.coverage')
-rw-r--r--tests/coverage/tight_inf_loop.coverage6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/coverage/tight_inf_loop.coverage b/tests/coverage/tight_inf_loop.coverage
new file mode 100644
index 000000000..c15c76b3a
--- /dev/null
+++ b/tests/coverage/tight_inf_loop.coverage
@@ -0,0 +1,6 @@
+ LL| 1|fn main() {
+ LL| 1| if false {
+ LL| 0| loop {}
+ LL| 1| }
+ LL| 1|}
+