]>
Commit | Line | Data |
---|---|---|
ef44eed1 SS |
1 | /* Test that things still (sort of) work when compiled without -g. */ |
2 | ||
3 | int dataglobal = 3; /* Should go in global data */ | |
4 | static int datalocal = 4; /* Should go in local data */ | |
5 | int bssglobal; /* Should go in global bss */ | |
6 | static int bsslocal; /* Should go in local bss */ | |
7 | ||
8 | int | |
9 | inner (x) | |
10 | int x; | |
11 | { | |
12 | return 2 * x; | |
13 | } | |
14 | ||
15 | static int | |
16 | middle (x) | |
17 | int x; | |
18 | { | |
19 | return 2 * inner (x); | |
20 | } | |
21 | ||
22 | int | |
23 | top (x) | |
24 | int x; | |
25 | { | |
26 | return 2 * middle (x); | |
27 | } | |
28 | ||
29 | int | |
30 | main (argc, argv) | |
31 | int argc; | |
32 | char **argv; | |
33 | { | |
34 | return top (argc); | |
35 | } |