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: test1.c
8**
9** Purpose: Intended to be the child process of a debugger. Calls
10** OutputDebugStringW once with a normal string, once with an empty
11** string
12**
13**
14**============================================================*/
15
16#define UNICODE
17#include <palsuite.h>
18
19int __cdecl main(int argc, char *argv[])
20{
21 WCHAR *str1;
22 WCHAR *str2;
23
24 if(0 != (PAL_Initialize(argc, argv)))
25 {
26 return FAIL;
27 }
28
29 str1 = convert("Foo!");
30 str2 = convert("");
31
32 OutputDebugStringW(str1);
33
34 OutputDebugStringW(str2);
35
36 free(str1);
37 free(str2);
38
39 PAL_Terminate();
40 return PASS;
41}
42