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 cout; 14 15 // XFAIL: LIBCXX-WINDOWS-FIXME 16 17 // FILE_DEPENDENCIES: ../check-stdout.sh 18 // RUN: %{build} 19 // RUN: %{exec} bash check-stdout.sh "%t.exe" "1234" 20 21 #include <iostream> 22 23 int main(int, char**) { 24 std::cout << "1234"; 25 return 0; 26 } 27