Automatic Copyright Year update after running gdb/copyright.py
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / solib-symbol-main.c
CommitLineData
88b9d363 1/* Copyright 2007-2022 Free Software Foundation, Inc.
3a40aaa0
UW
2 This program is free software; you can redistribute it and/or modify
3 it under the terms of the GNU General Public License as published by
a9762ec7 4 the Free Software Foundation; either version 3 of the License, or
3a40aaa0
UW
5 (at your option) any later version.
6
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 GNU General Public License for more details.
11
12 You should have received a copy of the GNU General Public License
a9762ec7 13 along with this program. If not, see <http://www.gnu.org/licenses/>.
3a40aaa0
UW
14
15 Contributed by Markus Deuling <deuling@de.ibm.com>.
16*/
17#include <stdio.h>
18
19extern void foo();
20void foo3();
21void foo2();
22
23int main ()
24{
25 printf ("in main\n");
26 foo ();
27 foo3 ();
28 return 0;
29}
30
31void foo3()
32{
33 printf ("foo3 in main\n");
34 return;
35}
36
37void foo2()
38{
39 printf ("foo2 in main\n");
40 return;
41}
42
This page took 2.626082 seconds and 4 git commands to generate.