summaryrefslogtreecommitdiff
path: root/tests/torture.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-10-03 06:54:22 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-10-04 06:58:44 +0200
commit11332204161aa59e7d8df24749277a6f2dd9a819 (patch)
tree296705c6fc7db67505b00bf97db7de2ab0aa3696 /tests/torture.at
parent39eb80bdbc6e806c99b59819c74a282c8e027783 (diff)
downloadbison-11332204161aa59e7d8df24749277a6f2dd9a819.tar.gz
tests: check more state numbers
* tests/torture.at (State number type): Also check 128, 129 and 32768.
Diffstat (limited to 'tests/torture.at')
-rw-r--r--tests/torture.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/torture.at b/tests/torture.at
index 0acb7dd3..d4f4f48c 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -265,8 +265,11 @@ AT_PARSER_CHECK([input])
AT_BISON_OPTION_POPDEFS
AT_CLEANUP])
+AT_TEST( [128], [yytype_int8])
+AT_TEST( [129], [yytype_uint8])
AT_TEST( [256], [yytype_uint8])
AT_TEST( [257], [yytype_int16])
+AT_TEST([32768], [yytype_int16])
AT_TEST([65536], [yytype_uint16])
AT_TEST([65537], [int])