summaryrefslogtreecommitdiff
path: root/tests/lexer/test-006.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-08-22 11:17:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-08-22 11:17:17 +0200
commit8387a0b45df48cd99bcd62f81d175cde509dc091 (patch)
tree06988610fffc6c1b07336271a0ed57024554ff33 /tests/lexer/test-006.cli
parent2a24763c6fd6a75510ded0d030620aad1eba2b02 (diff)
Add support for C and C++-style comments
Diffstat (limited to 'tests/lexer/test-006.cli')
-rw-r--r--tests/lexer/test-006.cli14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lexer/test-006.cli b/tests/lexer/test-006.cli
new file mode 100644
index 0000000..706f0f2
--- /dev/null
+++ b/tests/lexer/test-006.cli
@@ -0,0 +1,14 @@
+// c++ comment ;
+/* c comment ; */
+;
+"a" // foo
+"b"
+"a" /* foo
+bar
+baz */ "b";
+- // aaa
+5;
+- /* a
+a
+a*/ 5
+// eos \ No newline at end of file