]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/macro_export.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / 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 }