mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
17 lines
357 B
Rust
17 lines
357 B
Rust
// 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 () { | () => () }
|
|
}
|