mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
tests: cleanup.
* tests/c++.at (Syntax error discarding no lookahead): Don't ignore stderr. Instead, eliminate remaining warnings.
This commit is contained in:
@@ -412,6 +412,10 @@ consistent-error:
|
||||
| /*empty*/ %prec 'a'
|
||||
;
|
||||
|
||||
// Provide another context in which all rules are useful so that this
|
||||
// test case looks a little more realistic.
|
||||
start: 'b' consistent-error ;
|
||||
|
||||
%%
|
||||
|
||||
int
|
||||
@@ -434,7 +438,7 @@ main (void)
|
||||
return parser.parse ();
|
||||
}
|
||||
]])
|
||||
AT_BISON_CHECK([[-o input.cc input.yy]], [[0]], [[]], [[ignore-nolog]])
|
||||
AT_BISON_CHECK([[-o input.cc input.yy]])
|
||||
AT_COMPILE_CXX([[input]])
|
||||
# This used to print "Discarding 'a'." again at the end.
|
||||
AT_PARSER_CHECK([[./input]], [[1]], [[]],
|
||||
|
||||
Reference in New Issue
Block a user