summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-include-items.rs
blob: ad6f04009b6c7a5c2756c0e041cdcfdf7ddd0dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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);
}