summaryrefslogtreecommitdiff
path: root/tests/projects/other/bin2c/src/main.c
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-05 00:29:18 +0800
committerruki <[email protected]>2021-08-05 00:29:18 +0800
commitb700ce5f896f1a3edfadafb4c188d1f147ea4ac7 (patch)
tree298f5a01927bc8ce08eb5d0911f9f11d3f330d0d /tests/projects/other/bin2c/src/main.c
parent87d159290c9d9f5ad00e26640cb091f6ac068d05 (diff)
add bin2c module
Diffstat (limited to 'tests/projects/other/bin2c/src/main.c')
-rw-r--r--tests/projects/other/bin2c/src/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/other/bin2c/src/main.c b/tests/projects/other/bin2c/src/main.c
new file mode 100644
index 000000000..650531dcb
--- /dev/null
+++ b/tests/projects/other/bin2c/src/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+static unsigned char g_bin_data[] = {
+ #include "data.bin.h"
+};
+
+int main(int argc, char** argv)
+{
+ printf("bin2c: %s\n", g_bin_data);
+ return 0;
+}