]> git.saurik.com Git - bison.git/blobdiff - tests/input.at
Regen.
[bison.git] / tests / input.at
index 4cd6e155208df01f08fbf59f29dc17d1cd1cb908..a1da8f69bff46b87acac720dc8188b3af48e5952 100644 (file)
@@ -1,5 +1,5 @@
 # Checking the output filenames.                    -*- Autotest -*-
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003 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
@@ -92,6 +92,13 @@ AT_CLEANUP
 
 AT_SETUP([Torturing the Scanner])
 
+
+AT_DATA([input.y], [])
+AT_CHECK([bison input.y], [1], [],
+[[input.y:1.1: syntax error, unexpected "end of file"
+]])
+
+
 AT_DATA_GRAMMAR([input.y],
 [[%{
 /* This is seen in GCC: a %{ and %} in middle of a comment. */