diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parser/makefile | 2 | ||||
-rw-r--r-- | tests/parser/test-006.cli | 16 | ||||
-rw-r--r-- | tests/parser/test-006.std | 0 |
3 files changed, 17 insertions, 1 deletions
diff --git a/tests/parser/makefile b/tests/parser/makefile index c64e496..2d435b4 100644 --- a/tests/parser/makefile +++ b/tests/parser/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/parser/test-006.cli b/tests/parser/test-006.cli new file mode 100644 index 0000000..5b555e4 --- /dev/null +++ b/tests/parser/test-006.cli @@ -0,0 +1,16 @@ +// option-doc +// +class c +{ + bool --help | -h {"Help me"}; + + int --comp = 5 + { + "<level>", + "Set compression level", + "Set compression level to <level>. + + The minimum value for this options is 0 and + maximum is 9." + }; +}; diff --git a/tests/parser/test-006.std b/tests/parser/test-006.std new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/parser/test-006.std |