summaryrefslogtreecommitdiffstats
path: root/src/test/incremental/macro_export.rs
blob: 044d63fd2a9f12f81f0838d28d23ba6831168e1d (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)
}