Files
rust/tests/incremental/macro_export.rs
2025-10-13 15:20:49 +02:00

14 lines
358 B
Rust

//@ revisions: cfail1 cfail2 cfail3
//@ build-pass (FIXME(62277): could be check-pass?)
//@ ignore-backends: gcc
// 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)
}