]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/macro_export.rs
Auto merge of #57035 - Zoxc:query-pref9, r=michaelwoerister
[rust.git] / src / test / incremental / macro_export.rs
1 // revisions: cfail1 cfail2 cfail3
2 // compile-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 }