aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3928.rs
blob: 639d4c8531947a9522f97a450c82342d015ce0a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }
// { dg-options "-fsyntax-only" }

#![feature(exclusive_range_pattern)]

fn Foo() {
    let x = 1u32;

    match x {
        3..-1 => 4,
    };
}