blob: ba75a28f7362c88a50524d4b5d32722b456486c5 [file] [log] [blame]
//@ check-pass
macro_rules! exp {
(const $n:expr) => {
$n
};
}
macro_rules! stmt {
(exp $e:expr) => {
$e
};
(exp $($t:tt)+) => {
exp!($($t)+)
};
}
fn main() {
stmt!(exp const 1);
}