/* This testcase is part of GDB, the GNU debugger.
- Copyright 1996, 1999, 2003, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 1996, 1999, 2003, 2007, 2008, 2009, 2010, 2011
+ 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
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- Please email any bugs, comments, and/or additions to this file to:
- bug-gdb@prep.ai.mit.edu */
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Useful abreviations. */
typedef void t;
L18.r = 'Z';
}
+static struct { char c; } chartest[256];
+
int main()
{
#ifdef usestubs
#endif
int i;
+ for (i = 0; i < 256; i++)
+ chartest[i].c = i;
+ chartest[0].c = 0; /* chartest-done */
+
Fun1(foo1);
Fun2(foo2);
Fun3(foo3);
/* An infinite loop that first clears all the variables and then
calls each function. This "hack" is to make testing random
functions easier - "advance funN" is guaranteed to have always
- been preceeded by a global variable clearing zed call. */
+ been preceded by a global variable clearing zed call. */
while (1)
{