diff options
Diffstat (limited to 'tests/accept/run/tcnstseq2.nim')
-rw-r--r-- | tests/accept/run/tcnstseq2.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/accept/run/tcnstseq2.nim b/tests/accept/run/tcnstseq2.nim new file mode 100644 index 000000000..1a27b2ba7 --- /dev/null +++ b/tests/accept/run/tcnstseq2.nim @@ -0,0 +1,12 @@ +discard """ + output: "AngelikaAnneAnnaAnkaAnja" +""" + +const + myWords = @["Angelika", "Anne", "Anna", "Anka", "Anja"] + +for i in 0 .. high(myWords): + write(stdout, myWords[i]) #OUT AngelikaAnneAnnaAnkaAnja + + + |