1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

little: Make this build by default, and add some curlies

This commit is contained in:
Andreas Kling 2019-11-18 19:01:50 +01:00
parent 0e9e70ca4f
commit 7b3f1218be

View file

@ -1,9 +1,12 @@
#include <stdio.h> #include <stdio.h>
#include <sys/stat.h>
int main(int, char**) int main(int, char**)
{ {
// This is a comment :^) for (int i = 0; i < 3; ++i) {
printf("Hello friends!\n"); // This is a comment :^)
mkdir("/tmp/xyz", 0755); printf("Hello friends!\n");
mkdir("/tmp/xyz", 0755);
}
return 0; return 0;
} }