]> git.lizzy.rs Git - rust.git/blob - tests/incremental/macro_export.rs
Migrate `rustc_parse` to derive diagnostics
[rust.git] / tests / incremental / macro_export.rs
1 // revisions: cfail1 cfail2 cfail3
2 // build-pass (FIXME(62277): could be check-pass?)
3
4 // This test case makes sure that we can compile with incremental compilation
5 // enabled when there are macros exported from this crate. (See #37756)
6
7 #![crate_type="rlib"]
8
9 #[macro_export]
10 macro_rules! some_macro {
11     ($e:expr) => ($e + 1)
12 }