]> git.saurik.com Git - bison.git/blobdiff - tests/reduce.at
* src/reduce.c (nonterminals_reduce): Instead of throwing away
[bison.git] / tests / reduce.at
index ed3a5150daf549236aebe1972995bbc5995280df..08601d509415f1b2139bc9b214241235ea8261d2 100644 (file)
@@ -88,10 +88,12 @@ AT_DATA([[input.y]],
 exp: useful;
 ]])
 
-AT_CHECK([[bison input.y]])
+AT_CHECK([[bison input.y]], 0, [],
+[[input.y contains 9 useless nonterminals
+]])
 
 AT_CHECK([[sed -n '/^Grammar/q;/^$/!p' input.output]], 0,
-[[Terminals which are not used:
+[[Useless nonterminals:
    useless1
    useless2
    useless3