From 0a28b2729deb5b2568f1f4427699724e2bfd3fc7 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 11 Apr 2024 22:34:44 +0800 Subject: add autogen shared module test --- tests/projects/other/autogen_binary_module/src/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/projects/other/autogen_binary_module/src/main.cpp (limited to 'tests/projects/other/autogen_binary_module/src/main.cpp') 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 + +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