summaryrefslogtreecommitdiff
path: root/out.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-08-27 15:21:06 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-08-27 15:21:06 -0400
commitdf10470f1f10f1f1f2f5cad792976de8d734bf27 (patch)
tree5377bd2f9efc2af4f5c46430da88a4476f14103a /out.c
parent126c496ad8a6e9a3b90ecd25c8ff3ead630f7f65 (diff)
fixed functions
Diffstat (limited to 'out.c')
-rw-r--r--out.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/out.c b/out.c
index 0d58e0e..ca6858c 100644
--- a/out.c
+++ b/out.c
@@ -1,7 +1,20 @@
#include "out.h"
/* toc */
-void main__() {
+static void foo(void);
+static void a___(void);
+void main__(void) {
+ void (*bar)(void) = a___;
+ foo();
+ a___();
}
-void foo() {
+static void foo(void) {
+ void (*x)(void) = a___;
+}
+static void a___(void) {
+}
+
+int main(void) {
+ main__();
+ return 0;
}