summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-76182-leading-vert-pat.rs
blob: 7d31de1d22df2f40db3e769855255c575be21132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check-pass
// aux-build:test-macros.rs
// compile-flags: -Z span-debug
//
// Regression test for issue #76182
// Tests that we properly handle patterns with a leading vert

#![no_std] // Don't load unnecessary hygiene information from std
extern crate std;

extern crate test_macros;

#[test_macros::print_attr]
fn main() {
    match () { | () => () }
}