aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/4 winmaincpp/prog.cpp
blob: 6182257716ba2213a5ebb4b0bc95b7e50443c96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<windows.h>

class Foo;

int APIENTRY
WinMain(
    HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPSTR lpszCmdLine,
    int nCmdShow) {
// avoid unused argument error while matching template
    ((void)hInstance);
    ((void)hPrevInstance);
    ((void)lpszCmdLine);
    ((void)nCmdShow);
    return 0;
}