/[bison]/bison/tests/output.at
ViewVC logotype

Diff of /bison/tests/output.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.9 by akim, Mon Mar 4 18:06:42 2002 UTC revision 1.1.2.10 by akim, Tue Mar 12 16:52:21 2002 UTC
# Line 1  Line 1 
1  # Checking the output filenames.                    -*- Autotest -*-  # Checking the output filenames.                    -*- Autotest -*-
2  # Copyright 2000, 2001 Free Software Foundation, Inc.  # Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
5  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 84  AT_CHECK_OUTPUT([foo.yy], [], Line 84  AT_CHECK_OUTPUT([foo.yy], [],
84    
85  # Be sure to reject cases where the parser and the header would have  # Be sure to reject cases where the parser and the header would have
86  # the same name.  # the same name.
87  AT_SETUP([Clashing Output Files.])  AT_SETUP([Clashing Output Files])
88  AT_DATA([foo.y],  AT_DATA([foo.y],
89  [[%% foo: {};  [[%% foo: {};
90  ]])  ]])
91    
92  AT_CHECK([bison -do foo.x foo.y], [1], [],  AT_CHECK([bison -do foo.x foo.y], [1], [],
93           [foo.y:2: fatal error: header and parser would be both named `foo.x'           [foo.y:2: fatal error: header and parser would both be named `foo.x'
94  ])  ])
95  AT_CLEANUP  AT_CLEANUP

Legend:
Removed from v.1.1.2.9  
changed lines
  Added in v.1.1.2.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26