From aac4fd16033a8bfa2ef27710cd496ef6d129078a Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 19 Apr 2013 18:28:23 +0300 Subject: [PATCH] Added a test using winmain. --- test cases/windows/2 winmain/meson.build | 4 ++++ test cases/windows/2 winmain/prog.c | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 test cases/windows/2 winmain/meson.build create mode 100644 test cases/windows/2 winmain/prog.c diff --git a/test cases/windows/2 winmain/meson.build b/test cases/windows/2 winmain/meson.build new file mode 100644 index 000000000..1289456a8 --- /dev/null +++ b/test cases/windows/2 winmain/meson.build @@ -0,0 +1,4 @@ +project('winmain', 'c') + +exe = executable('prog', 'prog.c') +add_test('winmain', exe) diff --git a/test cases/windows/2 winmain/prog.c b/test cases/windows/2 winmain/prog.c new file mode 100644 index 000000000..53fd8c5ef --- /dev/null +++ b/test cases/windows/2 winmain/prog.c @@ -0,0 +1,10 @@ +#include + +int APIENTRY +WinMain( + HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPSTR lpszCmdLine, + int nCmdShow) { + return 0; +}