(Type Clashes): Expect warnings, not complaints.

This commit is contained in:
Paul Eggert
2002-11-30 09:51:50 +00:00
parent 3b0ee3aa8b
commit 38e71ff8c8

View File

@@ -73,10 +73,10 @@ exp: foo {} foo
;
]])
AT_CHECK([bison input.y], [1], [],
[[input.y:4.4-15: type clash on default action: <bar> != <>
input.y:5.4-8: type clash on default action: <bar> != <>
input.y:6.4: empty rule for typed nonterminal, and no action
AT_CHECK([bison input.y], [], [],
[[input.y:4.4-15: warning: type clash on default action: <bar> != <>
input.y:5.4-8: warning: type clash on default action: <bar> != <>
input.y:6.4: warning: empty rule for typed nonterminal, and no action
]])
AT_CLEANUP