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
251 B
Rust
Raw Normal View History

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