rust/tests/ui/macros/macro-include-items.rs
2023-01-11 09:32:08 +00:00

14 lines
280 B
Rust

// run-pass
#![allow(non_camel_case_types)]
// ignore-pretty issue #37195
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);
}