diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-07 09:13:05 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-07 09:13:05 +0200 |
commit | 94c036205a8de18211dbc93b7b1ffd0885704992 (patch) | |
tree | 950358ba64701ed8646c8f5b3dd9be266b105152 /2/test | |
parent | ad1530eff2904023ffa758ac8741c8f0cd4b4caf (diff) |
test compiler w/ hello world
Diffstat (limited to '2/test')
-rw-r--r-- | 2/test/.gitignore | 1 | ||||
-rw-r--r-- | 2/test/main.c | 6 | ||||
-rw-r--r-- | 2/test/makefile | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/2/test/.gitignore b/2/test/.gitignore new file mode 100644 index 0000000..ba2906d --- /dev/null +++ b/2/test/.gitignore @@ -0,0 +1 @@ +main diff --git a/2/test/main.c b/2/test/main.c new file mode 100644 index 0000000..04ce434 --- /dev/null +++ b/2/test/main.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("Hello world!\n"); + return 0; +} diff --git a/2/test/makefile b/2/test/makefile new file mode 100644 index 0000000..cd6a8c6 --- /dev/null +++ b/2/test/makefile @@ -0,0 +1 @@ +main: main.c |