2020-04-19 17:27:28 -07:00
|
|
|
//@ check-pass
|
2017-12-10 19:14:01 +00:00
|
|
|
|
2017-07-26 21:51:09 -07:00
|
|
|
#![warn(unused)]
|
|
|
|
|
|
2017-07-19 21:54:01 -07:00
|
|
|
macro_rules! m {
|
|
|
|
|
($a:tt $b:tt) => {
|
2023-12-26 16:30:31 +03:00
|
|
|
$b $a;
|
2017-07-19 21:54:01 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {
|
2023-12-26 16:30:31 +03:00
|
|
|
m!(S struct); //~ WARN struct `S` is never constructed
|
2017-07-19 21:54:01 -07:00
|
|
|
}
|