]> git.saurik.com Git - bison.git/blobdiff - tests/input.at
2007-01-29 Paolo Bonzini <bonzini@gnu.org>
[bison.git] / tests / input.at
index 462e2aa9a847725163ba884fcafae851fa5658e0..f24f489cc6a58238b1152b1af33b605957ae207b 100644 (file)
@@ -1,5 +1,6 @@
 # Checking the Bison scanner.                    -*- Autotest -*-
-# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
@@ -713,6 +714,7 @@ AT_DATA([input-c.y],
 [[%code q {}
 %code bad {}
 %code bad {}
+%code format {}
 %%
 start: ;
 ]])
@@ -720,6 +722,7 @@ AT_CHECK([[bison input-c.y]], [0], [],
 [[input-c.y:1.7: warning: %code qualifier `q' is not used
 input-c.y:2.7-9: warning: %code qualifier `bad' is not used
 input-c.y:3.7-9: warning: %code qualifier `bad' is not used
+input-c.y:4.7-12: warning: %code qualifier `format' is not used
 ]])
 
 AT_DATA([input-c-glr.y],