summaryrefslogtreecommitdiff
path: root/other/burneye2/tmp/exectest
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/burneye2/tmp/exectest
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/burneye2/tmp/exectest')
-rw-r--r--other/burneye2/tmp/exectest/simple.c35
-rw-r--r--other/burneye2/tmp/exectest/simple.obin0 -> 1012 bytes
2 files changed, 35 insertions, 0 deletions
diff --git a/other/burneye2/tmp/exectest/simple.c b/other/burneye2/tmp/exectest/simple.c
new file mode 100644
index 0000000..6d8b8a6
--- /dev/null
+++ b/other/burneye2/tmp/exectest/simple.c
@@ -0,0 +1,35 @@
1
2int
3_start (void)
4{
5 int a;
6
7 a = 6;
8 a = fac (a);
9 a = fac2 (6);
10
11 return (a);
12}
13
14
15int
16fac (int n)
17{
18 if (n <= 1)
19 return (1);
20 else
21 return (n * fac (n - 1));
22}
23
24
25int
26fac2 (int n)
27{
28 unsigned int a = n;
29
30 while (n > 1)
31 a *= --n;
32}
33
34
35
diff --git a/other/burneye2/tmp/exectest/simple.o b/other/burneye2/tmp/exectest/simple.o
new file mode 100644
index 0000000..76a6efa
--- /dev/null
+++ b/other/burneye2/tmp/exectest/simple.o
Binary files differ