Based on https://github.com/NuxiNL/cloudlibc, it appears that the CloudABI project has been abandoned. This patch removes a bunch of CloudABI specific logic that had been added to support that platform. Note that some knobs like LIBCXX_ENABLE_STDIN and LIBCXX_ENABLE_STDOUT coud be useful in their own right, however those are currently broken. If we want to re-add such knobs in the future, we can do it like we've done it for localization & friends so that we can officially support that configuration. Differential Revision: https://reviews.llvm.org/D108637
26 lines
643 B
C++
26 lines
643 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// <iostream>
|
|
|
|
// istream cin;
|
|
|
|
// FILE_DEPENDENCIES: ../send-stdin.sh
|
|
// RUN: %{build}
|
|
// RUN: %{exec} bash send-stdin.sh "%t.exe" "1234"
|
|
|
|
#include <iostream>
|
|
#include <cassert>
|
|
|
|
int main(int, char**) {
|
|
int i;
|
|
std::cin >> i;
|
|
assert(i == 1234);
|
|
return 0;
|
|
}
|