mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update existing tests.
This commit is contained in:
@@ -13,7 +13,7 @@ contract C {
|
||||
return (2, 3);
|
||||
}
|
||||
function h(uint x, uint y) public pure returns (uint) {
|
||||
return x - y;
|
||||
unchecked { return x - y; }
|
||||
}
|
||||
function i(bool b) public pure returns (bool) {
|
||||
return !b;
|
||||
@@ -28,6 +28,8 @@ contract C {
|
||||
return a * 7;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// d() ->
|
||||
// e(), 1 wei -> 1
|
||||
|
||||
Reference in New Issue
Block a user