lang-bootstrap/05/main.c
pommicket c42c5d94b8 fixed += bug with non-char pointers
tcc 0.9.25 can't compile musl (or any libc, probably).
will probably need to write libc for tcc, then compile
gcc or a later version of tcc with it
2022-02-17 21:33:21 -05:00

18 lines
325 B
C

/* #define _STDLIB_DEBUG */
/* #include <math.h> */
#include <stdio.h>
/* #include <signal.h> */
/* #include <stdlib.h> */
/* #include <string.h> */
/* #include <time.h> */
/* #include <float.h> */
/* #include <setjmp.h> */
/* */
int main(int argc, char **argv) {
int *p = 0x100;
p += 1;
printf("%p\n",p);
return 0;
}