diff options
| author | ruki <[email protected]> | 2024-04-11 22:34:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-11 22:34:44 +0800 |
| commit | 0a28b2729deb5b2568f1f4427699724e2bfd3fc7 (patch) | |
| tree | 8bccdd80c09e84bf794575ee78b787b4d3c27773 /tests/projects/other/autogen_binary_module/src | |
| parent | b559b4c1591e448b0f3faaa5928fc79e8286b8c3 (diff) | |
add autogen shared module test
Diffstat (limited to 'tests/projects/other/autogen_binary_module/src')
| -rw-r--r-- | tests/projects/other/autogen_binary_module/src/data.in | 1 | ||||
| -rw-r--r-- | tests/projects/other/autogen_binary_module/src/main.cpp | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/other/autogen_binary_module/src/data.in b/tests/projects/other/autogen_binary_module/src/data.in new file mode 100644 index 000000000..a04238969 --- /dev/null +++ b/tests/projects/other/autogen_binary_module/src/data.in @@ -0,0 +1 @@ +hello world! 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; +} |
