Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* |
2 | * Test program for tracing internal limits (number of tracepoints etc.) | |
3 | */ | |
4 | ||
5 | int n = 6; | |
6 | ||
7 | int arr[64]; | |
8 | ||
9 | static void foo(int x) | |
10 | { | |
11 | } | |
12 | ||
13 | static void bar(int y) | |
14 | { | |
15 | } | |
16 | ||
17 | static void baz(int z) | |
18 | { | |
19 | } | |
20 | ||
21 | static void begin () /* called before anything else */ | |
22 | { | |
23 | } | |
24 | ||
25 | static void end () /* called after everything else */ | |
26 | { | |
27 | } | |
28 | ||
29 | int | |
30 | main (argc, argv, envp) | |
31 | int argc; | |
32 | char *argv[], **envp; | |
33 | { | |
34 | int i; | |
35 | ||
36 | #ifdef usestubs | |
37 | set_debug_traps (); | |
38 | breakpoint (); | |
39 | #endif | |
40 | ||
41 | begin (); | |
42 | for (i = 0; i < sizeof(arr) / sizeof(arr[0]); i++) | |
43 | arr[i] = i + 1; | |
44 | ||
45 | foo (1); | |
46 | bar (2); | |
47 | baz (3); | |
48 | end (); | |
49 | return 0; | |
50 | } | |
51 |