mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
514e324c32
Without the workaround applied, this test will produce malformed mappings that cause `llvm-cov` to fail. (And if it does emit well-formed mappings, they should be obviously incorrect.)
11 lines
185 B
Rust
11 lines
185 B
Rust
// edition: 2021
|
|
|
|
#[macro_export]
|
|
macro_rules! macro_that_defines_a_function {
|
|
(fn $name:ident () $body:tt) => {
|
|
fn $name () -> () $body
|
|
}
|
|
}
|
|
|
|
// Non-executable comment.
|