summaryrefslogtreecommitdiff
path: root/out.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-08-30 00:39:34 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-08-30 00:39:34 -0400
commit969a228777ca0f2f624618d48b7ed21e2c25ec29 (patch)
tree351bc9fa39335567018e67f98b3157de6b5c1635 /out.c
parent7ebfe5013b607b45eb0cfa552d222ba406a59e61 (diff)
improved assignment; added arrays
Diffstat (limited to 'out.c')
-rw-r--r--out.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/out.c b/out.c
index a38f208..95de661 100644
--- a/out.c
+++ b/out.c
@@ -2,13 +2,19 @@
/* toc */
void main__(void) {
- int64_t const N = 5;
- int64_t const FOO = 1928;
- int64_t const BAR = 5;
- int64_t foo[1935];
- int64_t bar[77];
- int64_t x;
- (x=13);
+ void (*bar[3])(void) = {NULL};
+ int64_t i = 0;
+ void (*x)(void) = (bar[i]);
+ x();
+ (i=(i+1));
+ (x=(bar[i]));
+ x();
+ (i=(i+1));
+ (x=(bar[i]));
+ x();
+ (i=(i+1));
+ (x=(bar[i]));
+ x();
}
int main(void) {