14b169a6bSchristos /* sample2.c --- main source for sample2.x test program for M32C simulator 24b169a6bSchristos 3*9b2a9e00Schristos Copyright (C) 2005-2024 Free Software Foundation, Inc. 44b169a6bSchristos Contributed by Red Hat, Inc. 54b169a6bSchristos 64b169a6bSchristos This file is part of the GNU simulators. 74b169a6bSchristos 84b169a6bSchristos This program is free software; you can redistribute it and/or modify 94b169a6bSchristos it under the terms of the GNU General Public License as published by 104b169a6bSchristos the Free Software Foundation; either version 3 of the License, or 114b169a6bSchristos (at your option) any later version. 124b169a6bSchristos 134b169a6bSchristos This program is distributed in the hope that it will be useful, 144b169a6bSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 154b169a6bSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 164b169a6bSchristos GNU General Public License for more details. 174b169a6bSchristos 184b169a6bSchristos You should have received a copy of the GNU General Public License 194b169a6bSchristos along with this program. If not, see <http://www.gnu.org/licenses/>. */ 204b169a6bSchristos 214b169a6bSchristos /* See the 'sample2.x' target in Makefile.in. */ 224b169a6bSchristos void exit (int); 234b169a6bSchristos 244b169a6bSchristos void 254b169a6bSchristos start (void) 264b169a6bSchristos { 274b169a6bSchristos foo (1, 2, 3, 4); 284b169a6bSchristos exit (5); 294b169a6bSchristos } 30