summaryrefslogtreecommitdiff
path: root/tests/projects/other/autogen_module/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 23:11:14 +0800
committerruki <[email protected]>2024-04-02 23:11:14 +0800
commitdf720af04206d1ea5d481542575c9d10c42753ec (patch)
treeb6057e803eb4832a898cb0288d798dfe71f90c17 /tests/projects/other/autogen_module/src/main.cpp
parent693842d3e756953da273db9037264362a33b4812 (diff)
add autogen with native module
Diffstat (limited to 'tests/projects/other/autogen_module/src/main.cpp')
-rw-r--r--tests/projects/other/autogen_module/src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/other/autogen_module/src/main.cpp b/tests/projects/other/autogen_module/src/main.cpp
new file mode 100644
index 000000000..3241308f7
--- /dev/null
+++ b/tests/projects/other/autogen_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;
+}