nctref/tests/functions.nct

13 lines
140 B
Plaintext
Raw Normal View History

2024-11-25 17:36:03 +02:00
extern s32() getchar;
extern u0(s32) putchar;
2023-08-27 19:48:06 +03:00
loop {
2024-11-25 17:36:03 +02:00
u8 z = 5;
s32 a = getchar();
if(a == -1) {
break;
2023-08-27 19:48:06 +03:00
}
2024-11-25 17:36:03 +02:00
putchar(a);
putchar(z);
}