Program does not return
This commit is contained in:
parent
f43d8e3af4
commit
67e9a89c03
@ -1,10 +1,5 @@
|
||||
#include "../libc/string.h"
|
||||
|
||||
int main() {
|
||||
int x=17;
|
||||
char str[2];
|
||||
str[0]='h';
|
||||
str[1]='\0';
|
||||
char* vga=0xC00B8000;
|
||||
return x+strlen(str);
|
||||
for (;;);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user