From 575c955be31e1a78b5f7a31848a56176abf9b73f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 27 May 2009 01:21:59 +0000 Subject: Handles BOM on input files by removing. Fixed for UTF-8 input. Added D test. --- test/examples/x.d | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/examples/x.d (limited to 'test/examples/x.d') 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 + -- cgit v1.2.3