blob: 7b02c9cb8a54e941bd104955df9a5f8791c5f9cd (
plain)
1
2
3
4
5
6
7
8
9
|
// Check that an expr-ctxt `include` doesn't try to parse frontmatter and instead
// treats it as a regular Rust token sequence.
//@ check-pass
#![expect(double_negations)]
fn main() {
// issue: <https://github.com/rust-lang/rust/issues/145945>
const _: () = assert!(-1 == include!("auxiliary/expr.rs"));
}
|