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