aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-17 17:29:06 +0200
committerMattias Andrée <maandree@kth.se>2017-10-17 17:29:06 +0200
commitd04679a2e30ecc35a68e876829984c9dfba710e4 (patch)
tree209cb4a0962153e7ca948d82e7efaa9b3db750ae /test.c
parentupdate dist (diff)
downloadexec-as-d04679a2e30ecc35a68e876829984c9dfba710e4.tar.gz
exec-as-d04679a2e30ecc35a68e876829984c9dfba710e4.tar.bz2
exec-as-d04679a2e30ecc35a68e876829984c9dfba710e4.tar.xz
Rewrite and relicense1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test.c')
-rw-r--r--test.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test.c b/test.c
new file mode 100644
index 0000000..b0c0bd8
--- /dev/null
+++ b/test.c
@@ -0,0 +1,10 @@
+/* See LICENSE file for copyright and license details. */
+#include <stdio.h>
+
+int
+main(int argc, char *argv[])
+{
+ if (argc)
+ printf("%s,%i\n", argv[0], argc);
+ return 0;
+}