mirror of https://github.com/rust-lang/rust
14 lines
476 B
Rust
14 lines
476 B
Rust
// include_bytes! and include_str! in `main.rs`
|
|
// should register the included file as of #24423,
|
|
// and this test checks that this is still the case.
|
|
// See https://github.com/rust-lang/rust/pull/24423
|
|
|
|
use run_make_support::{invalid_utf8_contains, rustc};
|
|
|
|
fn main() {
|
|
rustc().emit("dep-info").input("main.rs").run();
|
|
invalid_utf8_contains("main.d", "input.txt");
|
|
invalid_utf8_contains("main.d", "input.bin");
|
|
invalid_utf8_contains("main.d", "input.md");
|
|
}
|