let_shadowing unit test

This commit is contained in:
mars 2022-08-27 00:38:58 -06:00
parent ef6b222db2
commit 6cb4223942
1 changed files with 13 additions and 0 deletions

View File

@ -89,4 +89,17 @@ mod tests {
c
"#
);
branch_test!(
let_shadowing,
5,
r#"
let a = 1;
let a = 1 + a;
let a = 1 + a;
let a = 1 + a;
let a = 1 + a;
a
"#
);
}