From df720af04206d1ea5d481542575c9d10c42753ec Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 2 Apr 2024 23:11:14 +0800 Subject: add autogen with native module --- tests/projects/other/autogen_module/src/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/projects/other/autogen_module/src/main.cpp (limited to 'tests/projects/other/autogen_module/src/main.cpp') 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 + +using namespace std; + +extern unsigned char g_codegen_data[]; + +int main(int argc, char** argv) { + cout << (const char*)g_codegen_data << endl; + return 0; +} -- cgit v1.3.1