2024-05-27 04:37:27 -05:00
|
|
|
// When provided standard input piped directly into rustc, this test checks that the compilation
|
|
|
|
// completes successfully and that the output can be executed.
|
|
|
|
//
|
|
|
|
// See <https://github.com/rust-lang/rust/pull/28805>.
|
|
|
|
|
|
|
|
//@ ignore-cross-compile
|
|
|
|
|
|
|
|
use run_make_support::{run, rustc};
|
|
|
|
|
|
|
|
fn main() {
|
2024-09-04 19:02:32 -05:00
|
|
|
rustc().arg("-").stdin_buf("fn main() {}").run();
|
2024-05-27 04:37:27 -05:00
|
|
|
run("rust_out");
|
|
|
|
}
|