summaryrefslogtreecommitdiff
path: root/tests/genie/for-in.gs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/genie/for-in.gs')
-rw-r--r--tests/genie/for-in.gs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/genie/for-in.gs b/tests/genie/for-in.gs
new file mode 100644
index 000000000..890e1b1ff
--- /dev/null
+++ b/tests/genie/for-in.gs
@@ -0,0 +1,4 @@
+init
+ a:string[] = { "a", "b", "c" }
+ for s:string in a
+ assert( s != "d" )