summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp b/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp
new file mode 100644
index 00000000000..61ff5fb5089
--- /dev/null
+++ b/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wclog.pass.cpp
@@ -0,0 +1,23 @@
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <iostream>
+
+// istream wclog;
+
+#include <iostream>
+
+int main()
+{
+#if 0
+ std::wclog << L"Hello World!\n";
+#else
+ (void)std::wclog;
+#endif
+}
OpenPOWER on IntegriCloud