]> git.proxmox.com Git - rustc.git/blob - tests/ui/macros/issue-84429-matches-edition.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / macros / issue-84429-matches-edition.rs
1 // edition:2021
2 // check-pass
3 //
4 // Regression test for issue #84429
5 // Tests that we can properly invoke `matches!` from a 2021-edition crate.
6
7 fn main() {
8 let _b = matches!(b'3', b'0' ..= b'9');
9 }