aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/args.cpp')
-rw-r--r--test/args.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/args.cpp b/test/args.cpp
new file mode 100644
index 0000000..470819a
--- /dev/null
+++ b/test/args.cpp
@@ -0,0 +1,13 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "winapi-common" project.
+// For details, see https://github.com/egor-tensin/winapi-common.
+// Distributed under the MIT License.
+
+#include <iostream>
+
+int wmain(int argc, wchar_t* argv[]) {
+ for (int i = 0; i < argc; ++i) {
+ std::wcout << argv[i] << L'\n';
+ }
+ return 0;
+}