summaryrefslogtreecommitdiff
path: root/out.c
blob: a3e2ebb376506f54d25314392b594d3db0c21da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <stdint.h>
#include <stdlib.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
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)


/* declarations */
i64 foo(void);
void main__(void);
/* code */
int main() {
	main__();
	return 0;
}

i64 foo(void) {

	slice_ X; {
	slice_ expr__; slice_ a0_; a0_.data = calloc(5, sizeof(i64([100]))); a0_.n = 5;expr__ = a0_;X = expr__;}
	i64( asdf[100]) = {0}; 
	((*(&asdf))[5]) = 12;;
	return (asdf[5]);
}


void main__(void) {

	i64( Ar[12]) = {0}; 
}