1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2004-2024 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 /* Useful abreviations. */
26 typedef long long tll
;
29 typedef long double tld
;
30 typedef enum { e
= '1' } te
;
32 /* Force the type of each field. */
59 /* Use a different initial value then is later used in the
60 "value foo returned" test, so in case the struct is then returned
61 on the stack, it doesn't have the correct value by accident. */
64 /* An infinite loop that first clears all the variables and then
65 calls the function. This "hack" is to make re-testing easier -
66 "advance fun" is guaranteed to have always been preceded by a
67 global variable clearing zed call. */