about summary refs log tree commit diff
path: root/src/test/incremental/macro_export.rs
blob: d1966646867a93a88b906b7b1e64bf802a060e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// revisions: cfail1 cfail2 cfail3
// compile-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)
}