diff options
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -11,6 +11,7 @@ typedef uint64_t u64; typedef float f32; typedef double f64; typedef unsigned char bool; +typedef struct { void *data; u64 n; } slice_; #define false ((bool)0) #define true ((bool)1) @@ -49,14 +50,8 @@ void main__(void) { a2_ = y; }(puti(a2_)); }; - i64( asdf[78636112]); { - i64( expr__[78636112]); { - size_t i;i64(*arr__in) = expr__; i64(*arr__out) = ((i64([78636112]))calloc(1, sizeof(i64([100]))); - for (i = 0; i < 78636112; i++) arr__out[i] = arr__in[i]; - }{ - size_t i;i64(*arr__in) = asdf; i64(*arr__out) = expr__; - for (i = 0; i < 78636112; i++) arr__out[i] = arr__in[i]; - }} + slice_ foo = {NULL, 0}; + slice_ bar = {NULL, 0}; }} |