tests: enhance existing tests with carets

* tests/actions.at: Unset value.
* tests/conflicts.at: Rule useless due to conflicts.
* tests/input.at: Missing terminator, unexpected end of file, command line
redefinition of variable.
* tests/named-refs.at: Many errors.
* tests/reduce.at: Useless nonterminals and rules.
* tests/regression.at: Large token.
This commit is contained in:
Theophile Ranquet
2012-12-03 11:12:07 +01:00
parent 3f5d1b2c67
commit 505ece5171
6 changed files with 254 additions and 0 deletions

View File

@@ -41,6 +41,12 @@ AT_BISON_CHECK([-o input.c input.y], 0, [],
[[input.y:4.9: warning: rule useless in parser due to conflicts: e: /* empty */
]])
AT_BISON_CHECK([-fcaret -o input.c input.y], 0, [],
[[input.y:4.9: warning: rule useless in parser due to conflicts
e: 'e' | /* Nothing. */;
^
]])
AT_CLEANUP