summaryrefslogtreecommitdiff
path: root/tests/regression.at
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@ces.clemson.edu>2006-10-15 00:02:21 +0000
committerJoel E. Denny <jdenny@ces.clemson.edu>2006-10-15 00:02:21 +0000
commitc4bd5bf7c5b63334e8bb67af294800d4aec0fe06 (patch)
treeff0bb2cb549481bd91edc5c9e6b6f0e9f0ca320d /tests/regression.at
parent231ed89af1eaff303a22f72aeb1c2c0cf5e25c21 (diff)
downloadbison-c4bd5bf7c5b63334e8bb67af294800d4aec0fe06.tar.gz
Fix testsuite for ./configure --enable-gcc-warnings:
* configure.ac (gcc-warnings): Move -Wall before -Wno-sign-compare. Otherwise, gcc 4.1.0 (at least) warns about sign comparisons in __AT_CHECK_PRINTER_AND_DESTRUCTOR in tests/actions.at. * test/input.at (Torturing the Scanner): #include <stdlib.h> for abort. * test/regression.at (Diagnostic that expects two alternatives): Likewise.
Diffstat (limited to 'tests/regression.at')
-rw-r--r--tests/regression.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regression.at b/tests/regression.at
index 6a0703ae..761e1bed 100644
--- a/tests/regression.at
+++ b/tests/regression.at
@@ -959,6 +959,7 @@ m4_define([_AT_DATA_EXPECT2_Y],
static int yylex (AT_LALR1_CC_IF([int *], [void]));
AT_LALR1_CC_IF([],
[#include <stdio.h>
+#include <stdlib.h>
static void yyerror (const char *);])
%}
$1