Add some tests

This commit is contained in:
Yorick Barbanneau 2021-10-15 02:04:42 +02:00
parent 2a3198c949
commit 5cccda4af3
3 changed files with 25 additions and 0 deletions

9
code/test/getint.c Normal file
View file

@ -0,0 +1,9 @@
#include "syscall.h"
int main(){
do {
int number = GetInt();
PutInt(number);
PutChar('\n');
} while(1 == 1);
}