Debian Codegraph @

gcc/testsuite/rust/compile/exclusive_range_pattern_feature_gate.rs

raw
1 // { dg-options "-frust-compile-until=lowering" }
2
3 fn test(n: usize) {
4 match n {
5 0..10 => (), //{ dg-error "exclusive range pattern syntax is experimental." "" { target *-*-* } }
6 _ => (),
7 }
8 }