rust/tests/ui/macros/macro-include-items.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
250 B
Rust
Raw Normal View History

// run-pass
#![allow(non_camel_case_types)]
2014-11-03 01:10:09 -06:00
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);
}