Add the case in duplicate issue (#4806) to the idempotent tests
This commit is contained in:
parent
dac2423f3f
commit
84ff0013c2
tests
@ -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,
|
||||
/*"*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user