summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-stmt-matchers.rs
blob: a643e50e99557fae7b7145f9b02945a6ba3d9e3f (plain)
1
2
3
4
5
6
7
// build-pass (FIXME(62277): could be check-pass?)


fn main() {
    macro_rules! m { ($s:stmt;) => { $s } }
    m!(vec![].push(0););
}