# Checking the output filenames. -*- Autotest -*-
-# Copyright (C) 2000-2002, 2005-2013 Free Software Foundation, Inc.
+# Copyright (C) 2000-2002, 2005-2015 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
]AT_DATA([$1],
[$2[
%%
-foo: {};
+foo: %empty {};
]])[
]AT_BISON_CHECK([$3 $1], [$5], [], [ignore])[
[foo.dot foo.output foo.xml],
[1])
+# Do not generate code when there are late errors (even warnings as
+# errors).
+AT_CHECK_OUTPUT([foo.y], [%define useless],
+ [--defines --graph --xml --report=all -Wall -Werror],
+ [foo.dot foo.output foo.xml],
+ [1])
+
+
## ------------ ##
## C++ output. ##
## ------------ ##