From 53959905b8e4bfd4877c1e052195391d89bdb0d6 Mon Sep 17 00:00:00 2001 From: Alasdair Armstrong Date: Tue, 3 Jul 2018 19:06:03 +0100 Subject: Fix a bug in foreach loops We should test before the first iteration in case 'to' starts out as less than 'from'. --- test/c/foreach_none.expect | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/c/foreach_none.expect (limited to 'test/c/foreach_none.expect') diff --git a/test/c/foreach_none.expect b/test/c/foreach_none.expect new file mode 100644 index 00000000..9766475a --- /dev/null +++ b/test/c/foreach_none.expect @@ -0,0 +1 @@ +ok -- cgit v1.2.3