summaryrefslogtreecommitdiff
path: root/tools/apbuild/test-app/randomapp1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/apbuild/test-app/randomapp1.c')
-rw-r--r--tools/apbuild/test-app/randomapp1.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/apbuild/test-app/randomapp1.c b/tools/apbuild/test-app/randomapp1.c
new file mode 100644
index 00000000..70252276
--- /dev/null
+++ b/tools/apbuild/test-app/randomapp1.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <ctype.h>
+#include <fnmatch.h>
+
+int main() {
+ char *respath = malloc(PATH_MAX);
+ unsigned char c = (unsigned char)"c";
+
+ printf("foo\n");
+ printf("%d\n", isalpha(c));
+ realpath("/some/path", respath);
+ fnmatch ("foo", "bar", 0);
+ return 0;
+}