Add a test for #2782
This commit is contained in:
parent
888abbb0ec
commit
a0206f53d2
@ -435,3 +435,8 @@ fn issue2704() {
|
|||||||
.filter(|_| true)
|
.filter(|_| true)
|
||||||
.collect());
|
.collect());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// #2782
|
||||||
|
fn issue2782() {
|
||||||
|
{let f={let f={{match f{F(f,_)=>{{loop{let f={match f{F(f,_)=>{{match f{F(f,_)=>{{loop{let f={let f={match f{'-'=>F(f,()),}};};}}}}}}}};}}}}}};};}
|
||||||
|
}
|
||||||
|
@ -476,3 +476,34 @@ fn issue2704() {
|
|||||||
.collect(),
|
.collect(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// #2782
|
||||||
|
fn issue2782() {
|
||||||
|
{
|
||||||
|
let f = {
|
||||||
|
let f = {
|
||||||
|
{
|
||||||
|
match f {
|
||||||
|
F(f, _) => loop {
|
||||||
|
let f = {
|
||||||
|
match f {
|
||||||
|
F(f, _) => match f {
|
||||||
|
F(f, _) => loop {
|
||||||
|
let f = {
|
||||||
|
let f = {
|
||||||
|
match f {
|
||||||
|
'-' => F(f, ()),
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user