aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.nim
diff options
context:
space:
mode:
authorJad Altahan <xviyy@aol.com>2019-01-29 09:18:07 +1100
committerJad Altahan <xviyy@aol.com>2019-01-29 09:18:07 +1100
commit8b99f2cfdd7ed2274afa7bf003850ce4213cbfd3 (patch)
tree5e175beedf3f5eabe9736449cdca8243dcaa1309 /test/examples/x.nim
parent2f829dbd40a537043774508ed61da9ea92467355 (diff)
downloadscintilla-mirror-8b99f2cfdd7ed2274afa7bf003850ce4213cbfd3.tar.gz
Feature [feature-requests:#1260]. Fix inconsistency with dot styling in Nim.
Diffstat (limited to 'test/examples/x.nim')
-rw-r--r--test/examples/x.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/examples/x.nim b/test/examples/x.nim
new file mode 100644
index 000000000..07c9d216f
--- /dev/null
+++ b/test/examples/x.nim
@@ -0,0 +1,6 @@
+# Tests for Nim
+let s = "foobar"
+
+# Feature #1260
+{.ident.}
+stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")