diff options
author | Araq <rumpf_a@web.de> | 2011-11-02 01:25:17 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-02 01:25:17 +0100 |
commit | 84c473a8901f8ae8411bdfb9f5b90d8b27e1689f (patch) | |
tree | 7d83ce7389e3cf6e1c4c7fb2a6d1c41d8fe1fbbe /tests | |
parent | 95df3ee1ce2303a7b5e2f728c643a86fb5e65561 (diff) | |
download | Nim-84c473a8901f8ae8411bdfb9f5b90d8b27e1689f.tar.gz |
DLL generation may work again
Diffstat (limited to 'tests')
-rw-r--r-- | tests/accept/run/tcnstseq2.nim | 12 | ||||
-rw-r--r-- | tests/accept/run/tcnstseq3.nim | 7 |
2 files changed, 19 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 + + + diff --git a/tests/accept/run/tcnstseq3.nim b/tests/accept/run/tcnstseq3.nim new file mode 100644 index 000000000..e59516e85 --- /dev/null +++ b/tests/accept/run/tcnstseq3.nim @@ -0,0 +1,7 @@ +discard """ + output: "AngelikaAnneAnnaAnkaAnja" +""" + +for w in items(["Angelika", "Anne", "Anna", "Anka", "Anja"]): + write(stdout, w) #OUT AngelikaAnneAnnaAnkaAnja + |