aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.d
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-05-27 01:21:59 +0000
committernyamatongwe <unknown>2009-05-27 01:21:59 +0000
commit27042b42199acb91f9f1c34aab6e98924f408a64 (patch)
tree09067b85aea5dd13020b8ae73f9152668d0b2465 /test/examples/x.d
parentdca8a735518e2be631d72045a5da8cfd114e9481 (diff)
downloadscintilla-mirror-27042b42199acb91f9f1c34aab6e98924f408a64.tar.gz
Handles BOM on input files by removing.
Fixed for UTF-8 input. Added D test.
Diffstat (limited to 'test/examples/x.d')
-rw-r--r--test/examples/x.d47
1 files changed, 47 insertions, 0 deletions
diff --git a/test/examples/x.d b/test/examples/x.d
new file mode 100644
index 000000000..617aa38a1
--- /dev/null
+++ b/test/examples/x.d
@@ -0,0 +1,47 @@
+$
+// /++ +/ doccomments are not yet supported
+/* */
+/** */
+/// drdr
+/+ /+ +/ +/
+//keyword test
+keyword1
+keyword2
+keyword4
+keyword5
+keyword6
+keyword7
+//unicode identifier test
+вапёasdÓΘΣαԷԸՑהכ拉麺とひシマイ단결을
+//strings test
+'s
+'
+w's'w
+"multiline
+ string"w
+e"zz"e
+r"asd\"e
+r"multiline
+ string"c
+r`asd\`e
+`multiline
+ string`d
+x"023 abc"e
+x"023
+ abc"w
+//numbers test
+a[3..4]=3
+2.stringof
+2.0.stringof
+2.
+2.2e+2
+2.2e-2
+.2e+2
+.2
+2e+2
+0x2e+2
+0x2ep+10
+,.2.stringof,
+
+end
+