1/*
2 * test8400 - 8400 series of the regress.cal test suite
3 *
4 * Copyright (C) 1999  Landon Curt Noll
5 *
6 * Calc is open software; you can redistribute it and/or modify it under
7 * the terms of the version 2.1 of the GNU Lesser General Public License
8 * as published by the Free Software Foundation.
9 *
10 * Calc is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU Lesser General
13 * Public License for more details.
14 *
15 * A copy of version 2.1 of the GNU Lesser General Public License is
16 * distributed with calc under the filename COPYING-LGPL.  You should have
17 * received a copy with calc; if not, write to Free Software Foundation, Inc.
18 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 *
20 * Under source code control:	1999/10/31 01:00:03
21 * File existed as early as:	1999
22 *
23 * chongo <was here> /\oo/\	http://www.isthe.com/chongo/
24 * Share and enjoy!  :-)	http://www.isthe.com/chongo/tech/comp/calc/
25 */
26
27
28print "8401: in test8400.cal";
29
30/*
31 * test8400 - dummy function to allow a check of quit-based memory leaks
32 */
33define test8400()
34{
35    local x8401 = 19937;    /* watch for lost memory */
36    static s8401 = 44497;   /* watch for lost memory */
37
38    return x8401+s8401;
39}
40print "8402: parsed test8400()";
41vrfy(test8400() == 64434,	    '8403: test8400() == 64434');
42
43quit;
44prob('quit did not end test8400.cal');
45