X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5807bb9156930091850a52b5bb9ab9f89082b04e..a73aa764a1d4b4cdf352558f030bcfcccfe97d7f:/tests/conflicts.at diff --git a/tests/conflicts.at b/tests/conflicts.at index 8b04449c..c7ed2fe4 100644 --- a/tests/conflicts.at +++ b/tests/conflicts.at @@ -40,6 +40,12 @@ AT_BISON_CHECK([-o input.c input.y], 0, [], [[input.y:4.9: warning: rule useless in parser due to conflicts: e: /* empty */ [-Wother] ]]) +AT_BISON_CHECK([-fcaret -o input.c input.y], 0, [], +[[input.y:4.9: warning: rule useless in parser due to conflicts [-Wother] + e: 'e' | /* Nothing. */; + ^ +]]) + AT_CLEANUP