mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
13 lines
251 B
Rust
13 lines
251 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);
|
|
}
|