diff options
Diffstat (limited to 'test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp')
| -rw-r--r-- | test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp b/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp new file mode 100644 index 000000000000..6543e0aa56a4 --- /dev/null +++ b/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp @@ -0,0 +1,25 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// XFAIL: libcpp-has-no-stdout + +// <iostream> + +// istream wcout; + +#include <iostream> + +int main() +{ +#if 0 + std::wcout << L"Hello World!\n"; +#else + (void)std::wcout; +#endif +} |
