1 //===----------------------------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 // <iostream> 10 11 // istream wcout; 12 13 // XFAIL: libcpp-has-no-wide-characters 14 // XFAIL: LIBCXX-WINDOWS-FIXME 15 16 // FILE_DEPENDENCIES: ../check-stdout.sh 17 // RUN: %{build} 18 // RUN: %{exec} bash check-stdout.sh "%t.exe" "1234" 19 20 #include <iostream> 21 22 int main(int, char**) { 23 std::wcout << L"1234"; 24 return 0; 25 } 26