aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll')
-rw-r--r--meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/main.c10
-rw-r--r--meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/version.rc11
2 files changed, 21 insertions, 0 deletions
diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/main.c b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/main.c
new file mode 100644
index 000000000..2bd8cd297
--- /dev/null
+++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/main.c
@@ -0,0 +1,10 @@
+#include <windows.h>
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ // avoid unused argument error while matching template
+ ((void)hinstDLL);
+ ((void)fdwReason);
+ ((void)lpvReserved);
+ return TRUE;
+}
diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/version.rc b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/version.rc
new file mode 100644
index 000000000..abdbaaa64
--- /dev/null
+++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe3/src_dll/version.rc
@@ -0,0 +1,11 @@
+ #include <windows.h>
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 1,0,0,0
+ PRODUCTVERSION 1,0,0,0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+BEGIN
+END