Subset of C language with tree interpreter and bytecode compiler + VM.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

14 行
212 B

// memory-leak
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
int main() {
for (int i = 0; i < 10; ++i) {
int *ptr = malloc(sizeof(*ptr));
assert(ptr != 0);
*ptr = i;
}
return 0;
}