summaryrefslogtreecommitdiff
path: root/tests/c++.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c++.at')
-rw-r--r--tests/c++.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/c++.at b/tests/c++.at
index d29b6f60..3510498b 100644
--- a/tests/c++.at
+++ b/tests/c++.at
@@ -461,6 +461,7 @@ AT_DATA_GRAMMAR([[input.yy]],
%code
{
+ #include <stdlib.h>
int yylex (yy::parser::semantic_type *);
}
@@ -510,7 +511,7 @@ yy::parser::error (const std::string &m)
}
int
-main ()
+main (void)
{
yy::parser parser;
parser.set_debug_level(!!getenv("YYDEBUG"));