summaryrefslogtreecommitdiff
path: root/other/burneye2/tmp/funcptr
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/funcptr
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/burneye2/tmp/funcptr')
-rw-r--r--other/burneye2/tmp/funcptr/fptr.c24
-rw-r--r--other/burneye2/tmp/funcptr/fptr.obin0 -> 852 bytes
2 files changed, 24 insertions, 0 deletions
diff --git a/other/burneye2/tmp/funcptr/fptr.c b/other/burneye2/tmp/funcptr/fptr.c
new file mode 100644
index 0000000..291656b
--- /dev/null
+++ b/other/burneye2/tmp/funcptr/fptr.c
@@ -0,0 +1,24 @@
1
2int m2 (int a);
3
4typedef int (* fptr)(int);
5
6
7int
8main (int argc, char *argv[])
9{
10 fptr subfunc;
11
12
13 subfunc = m2;
14 return (subfunc (argc));
15}
16
17
18int
19m2 (int a)
20{
21 return (a << 1);
22}
23
24
diff --git a/other/burneye2/tmp/funcptr/fptr.o b/other/burneye2/tmp/funcptr/fptr.o
new file mode 100644
index 0000000..a68a727
--- /dev/null
+++ b/other/burneye2/tmp/funcptr/fptr.o
Binary files differ