diff options
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; +} |
