test cases/windows/4 winmaincpp/prog.cpp
raw| 1 | #include<windows.h> |
| 2 | |
| 3 | class Foo; |
| 4 | |
| 5 | int APIENTRY |
| 6 | WinMain( |
| 7 | HINSTANCE hInstance, |
| 8 | HINSTANCE hPrevInstance, |
| 9 | LPSTR lpszCmdLine, |
| 10 | int nCmdShow) { |
| 11 | // avoid unused argument error while matching template |
| 12 | ((void)hInstance); |
| 13 | ((void)hPrevInstance); |
| 14 | ((void)lpszCmdLine); |
| 15 | ((void)nCmdShow); |
| 16 | return 0; |
| 17 | } |