1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5/*=============================================================================
6**
7** Source: test2.c
8**
9** Purpose: Positive test for ExitProcess.
10**
11** Dependencies: none
12**
13
14**
15**===========================================================================*/
16#include <palsuite.h>
17
18
19
20int __cdecl main( int argc, char **argv )
21
22{
23 /* call ExitProcess() -- should work without PAL_Initialize() */
24 ExitProcess(PASS);
25
26
27 /* return failure if we reach here -- note no attempt at */
28 /* meaningful output because we never called PAL_Initialize(). */
29 return FAIL;
30}
31