about summary refs log tree commit diff
path: root/tests/incremental/macro_export.rs
blob: 23e8f01cf330e97c4525b6ed32e7fec0dd4ef8c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ 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)
}