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,8 @@
contract C {
uint x = unchecked { f() + 2 }
function f() public pure returns (uint) {
return 4;
}
}
// ----
// ParserError 6933: (26-35): Expected primary expression.