X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c6bf97ccb45672a004ef376b9f3e578d2f558d5f..7ae57e2a352764327f7b6b969a28d8c6640eab33:/tests/conflicts.at diff --git a/tests/conflicts.at b/tests/conflicts.at index a13d7546..5653b481 100644 --- a/tests/conflicts.at +++ b/tests/conflicts.at @@ -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