summaryrefslogtreecommitdiff
path: root/tests/c++.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c++.at')
-rw-r--r--tests/c++.at5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/c++.at b/tests/c++.at
index b43e078a..ad08b8ad 100644
--- a/tests/c++.at
+++ b/tests/c++.at
@@ -781,11 +781,14 @@ exp: ZERO
int yylex (yy::parser::semantic_type *yylval)
{
+ (void) *yylval;
return yy::parser::token::ZERO;
}
void yy::parser::error (std::string const& msg)
-{}
+{
+ (void) msg;
+}
int main()
{}