summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c
new file mode 100644
index 0000000..3b6c977
--- /dev/null
+++ b/test/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "../flag.h"
+
+int main() {
+ int test1 = flag_int("-j", 69, "<number of cores> Specifies the number of cores to be used.");
+ printf("This is the first test argument: %d\n", test1);
+ return 0;
+}