Files
codeql/rust/ql/test/query-tests/diagnostics/my_macro.rs

19 lines
253 B
Rust

/**
* total lines in this file: 18
* of which code: 10
* of which only comments: 6
* of which blank: 2
*/
macro_rules! myMacro {
() => {
println!("Hello, world!");
};
}
pub fn my_func() {
if true {
myMacro!();
}
}