]> git.saurik.com Git - bison.git/blobdiff - tests/input.at
Use a more general search string in ac_abs_builddir, ac_abs_top_builddir, etc.
[bison.git] / tests / input.at
index ba45119c2c9052c6aed884b613005405e730f4cc..82fbe06346c99c84d71deac1e2da506ff2f9f4f0 100644 (file)
@@ -204,6 +204,14 @@ AT_CHECK([bison input.y], [1], [],
 ]])
 
 
+AT_DATA([input.y], 
+[{}
+])
+AT_CHECK([bison input.y], [1], [],
+[[input.y:1.1-2: syntax error, unexpected {...}
+]])
+
+
 AT_DATA_GRAMMAR([input.y],
 [[%{
 /* This is seen in GCC: a %{ and %} in middle of a comment. */