summary refs log tree commit diff
path: root/tests/run-make/include-bytes-deps/rmake.rs
blob: ea371ddae567581d238de0bf2328c943db5c7378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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");
}