Commit | Line | Data |
---|---|---|
7b6bb8da | 1 | /* Copyright 2007, 2008, 2009, 2010, 2011 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 | ||
19 | extern void foo(); | |
20 | void foo3(); | |
21 | void foo2(); | |
22 | ||
23 | int main () | |
24 | { | |
25 | printf ("in main\n"); | |
26 | foo (); | |
27 | foo3 (); | |
28 | return 0; | |
29 | } | |
30 | ||
31 | void foo3() | |
32 | { | |
33 | printf ("foo3 in main\n"); | |
34 | return; | |
35 | } | |
36 | ||
37 | void foo2() | |
38 | { | |
39 | printf ("foo2 in main\n"); | |
40 | return; | |
41 | } | |
42 |