diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lexer/makefile | 2 | ||||
-rw-r--r-- | tests/lexer/test-006.cli | 14 | ||||
-rw-r--r-- | tests/lexer/test-006.std | 7 |
3 files changed, 22 insertions, 1 deletions
diff --git a/tests/lexer/makefile b/tests/lexer/makefile index 0764869..71d46f7 100644 --- a/tests/lexer/makefile +++ b/tests/lexer/makefile @@ -7,7 +7,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make cxx_tun := driver.cxx -tests := 000 001 002 003 004 005 +tests := 000 001 002 003 004 005 006 # # 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 diff --git a/tests/lexer/test-006.std b/tests/lexer/test-006.std new file mode 100644 index 0000000..eaa9964 --- /dev/null +++ b/tests/lexer/test-006.std @@ -0,0 +1,7 @@ +; +"a" "b" "a" "b" +; +-5 +; +-5 +<EOS> |