llvm-project/libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcout.pass.cpp

25 lines
550 B
C++
Raw Normal View History

2010-05-12 03:42:16 +08:00
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2010-05-12 03:42:16 +08:00
//
//===----------------------------------------------------------------------===//
// XFAIL: libcpp-has-no-stdout
2010-05-12 03:42:16 +08:00
// <iostream>
// istream wcout;
#include <iostream>
int main()
{
#if 0
std::wcout << L"Hello World!\n";
#else
(void)std::wcout;
#endif
}