summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/errortest.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/errortest.asy')
-rw-r--r--Build/source/utils/asymptote/errortest.asy16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/errortest.asy b/Build/source/utils/asymptote/errortest.asy
index a3867598bd8..ea6885dbff8 100644
--- a/Build/source/utils/asymptote/errortest.asy
+++ b/Build/source/utils/asymptote/errortest.asy
@@ -447,3 +447,19 @@
A a;
var h = a.f;
}
+{
+ int x;
+ for (var i : x)
+ ;
+}
+{
+ int x, x();
+ for (var i : x)
+ ;
+}
+{
+ int x, x();
+ int[] x = {2,3,4};
+ for (var i : x)
+ ;
+}