rust/tests/ui/macros/macro-include-items.rs
2023-04-03 09:24:11 +02:00

13 lines
250 B
Rust

// run-pass
#![allow(non_camel_case_types)]
fn bar() {}
include!(concat!("", "", "auxiliary/", "macro-include-items-item.rs"));
fn main() {
foo();
assert_eq!(include!(concat!("", "auxiliary/", "macro-include-items-expr.rs")), 1_usize);
}