diff options
Diffstat (limited to 'meson/test cases/common/6 linkshared/main.c')
-rw-r--r-- | meson/test cases/common/6 linkshared/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/6 linkshared/main.c b/meson/test cases/common/6 linkshared/main.c new file mode 100644 index 000000000..77773274e --- /dev/null +++ b/meson/test cases/common/6 linkshared/main.c @@ -0,0 +1,11 @@ +#if defined _WIN32 || defined __CYGWIN__ + #define DLL_IMPORT __declspec(dllimport) +#else + #define DLL_IMPORT +#endif + +int DLL_IMPORT func(void); + +int main(void) { + return func(); +} |