Add the case in duplicate issue () to the idempotent tests

This commit is contained in:
ChinYing-Li 2021-04-21 14:08:57 +08:00 committed by Caleb Cartwright
parent dac2423f3f
commit 84ff0013c2
2 changed files with 28 additions and 0 deletions

@ -1,3 +1,4 @@
// issue 4312
fn main() {
/* " */
println!("Hello, world!");
@ -5,4 +6,17 @@ fn main() {
println!("Hello, world!");
/* " abc */
println!("Hello, world!");
let y = 4;
let x = match 1 + y == 3 {
True => 3,
False => 4,
/* " unreachable */
};
}
// issue 4806
enum X {
A,
B,
/*"*/
}

@ -1,3 +1,4 @@
// issue 4312
fn main() {
/* " */
println!("Hello, world!");
@ -5,4 +6,17 @@ fn main() {
println!("Hello, world!");
/* " abc */
println!("Hello, world!");
let y = 4;
let x = match 1 + y == 3 {
True => 3,
False => 4,
/* " unreachable */
};
}
// issue 4806
enum X {
A,
B,
/*"*/
}