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 // XFAIL: libcpp-has-no-stdout
10 
11 // <iostream>
12 
13 // istream wcout;
14 
15 // FILE_DEPENDENCIES: ../check-stdout.sh
16 // RUN: %{build}
17 // RUN: %{exec} bash check-stdout.sh "%t.exe" "1234"
18 
19 #include <iostream>
20 
main(int,char **)21 int main(int, char**) {
22     std::wcout << L"1234";
23     return 0;
24 }
25