New tests.

This commit is contained in:
chriseth
2020-10-19 16:58:59 +02:00
parent e262f47f21
commit c9ef727136
15 changed files with 176 additions and 0 deletions
@@ -0,0 +1,11 @@
contract C {
function f() public pure {
unchecked {
unchecked {
uint x = 2 + 3;
}
}
}
}
// ----
// SyntaxError 1941: (76-133): "unchecked" blocks cannot be nested.