diff options
Diffstat (limited to 'Tests/ModuleDefinition/example_exe.c')
-rw-r--r-- | Tests/ModuleDefinition/example_exe.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/ModuleDefinition/example_exe.c b/Tests/ModuleDefinition/example_exe.c new file mode 100644 index 0000000..60cde6a --- /dev/null +++ b/Tests/ModuleDefinition/example_exe.c @@ -0,0 +1,14 @@ +extern int __declspec(dllimport) example_dll_function(void); +#ifdef _MSC_VER +extern int __declspec(dllimport) example_dll_2_function(void); +#endif +int example_exe_function(void) { return 0; } +int main(void) +{ + return + example_dll_function() + +#ifdef _MSC_VER + example_dll_2_function() + +#endif + example_exe_function(); +} |