summaryrefslogtreecommitdiff
path: root/tests/projects/other/autogen_binary_module/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-11 22:34:44 +0800
committerruki <[email protected]>2024-04-11 22:34:44 +0800
commit0a28b2729deb5b2568f1f4427699724e2bfd3fc7 (patch)
tree8bccdd80c09e84bf794575ee78b787b4d3c27773 /tests/projects/other/autogen_binary_module/src/main.cpp
parentb559b4c1591e448b0f3faaa5928fc79e8286b8c3 (diff)
add autogen shared module test
Diffstat (limited to 'tests/projects/other/autogen_binary_module/src/main.cpp')
-rw-r--r--tests/projects/other/autogen_binary_module/src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/other/autogen_binary_module/src/main.cpp b/tests/projects/other/autogen_binary_module/src/main.cpp
new file mode 100644
index 000000000..3241308f7
--- /dev/null
+++ b/tests/projects/other/autogen_binary_module/src/main.cpp
@@ -0,0 +1,10 @@
+#include <iostream>
+
+using namespace std;
+
+extern unsigned char g_codegen_data[];
+
+int main(int argc, char** argv) {
+ cout << (const char*)g_codegen_data << endl;
+ return 0;
+}