mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
New tests.
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user