Skip to content

Commit ca1616c

Browse files
committed
Add ui test for issue 88074
1 parent d8dae4f commit ca1616c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// check-pass
2+
3+
trait Zero {
4+
const ZERO: Self;
5+
}
6+
7+
impl Zero for i32 {
8+
const ZERO: Self = 0;
9+
}
10+
11+
fn main() {
12+
match 1 {
13+
Zero::ZERO ..= 1 => {},
14+
_ => {},
15+
}
16+
}

0 commit comments

Comments
 (0)