working (?) tcc build
This commit is contained in:
parent
e900dd8d6f
commit
e94266df3d
9 changed files with 79 additions and 26 deletions
29
05/main.c
29
05/main.c
|
@ -1,17 +1,18 @@
|
|||
#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>
|
||||
/* #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) {
|
||||
jmp_buf test;
|
||||
setjmp(test);
|
||||
longjmp(test, 5);
|
||||
return 0;
|
||||
char *p = "a";
|
||||
char s[] = "hello\0there";
|
||||
|
||||
int _main(int argc, char **argv) {
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue