summaryrefslogtreecommitdiff
path: root/out.c
diff options
context:
space:
mode:
Diffstat (limited to 'out.c')
-rw-r--r--out.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/out.c b/out.c
index 95de661..23b0282 100644
--- a/out.c
+++ b/out.c
@@ -1,8 +1,13 @@
#include "out.h"
/* toc */
+static void a___(void);
void main__(void) {
void (*bar[3])(void) = {NULL};
+ void (*foo)(void) = a___;
+ ((bar[1])=foo);
+ ((bar[2])=foo);
+ ((bar[0])=foo);
int64_t i = 0;
void (*x)(void) = (bar[i]);
x();
@@ -12,9 +17,8 @@ void main__(void) {
(i=(i+1));
(x=(bar[i]));
x();
- (i=(i+1));
- (x=(bar[i]));
- x();
+}
+static void a___(void) {
}
int main(void) {