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 <sys/stat.h>
int main(int, char**)
{
// This is a comment :^)
printf("Hello friends!\n");
mkdir("/tmp/xyz", 0755);
for (int i = 0; i < 3; ++i) {
// This is a comment :^)
printf("Hello friends!\n");
mkdir("/tmp/xyz", 0755);
}
return 0;
}