rust/src/test/incremental/macro_export.rs
2019-07-03 06:30:28 +09:00

13 lines
331 B
Rust

// revisions: cfail1 cfail2 cfail3
// build-pass (FIXME(62277): could be check-pass?)
// This test case makes sure that we can compile with incremental compilation
// enabled when there are macros exported from this crate. (See #37756)
#![crate_type="rlib"]
#[macro_export]
macro_rules! some_macro {
($e:expr) => ($e + 1)
}