mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
209 B
Solidity
12 lines
209 B
Solidity
// SPDX-License-Identifier: GPL-3.0
|
|
pragma solidity >=0.0;
|
|
contract test {
|
|
uint x;
|
|
function f(address _a) public {
|
|
_a.call("");
|
|
assert(x < 10);
|
|
}
|
|
function g() public view {
|
|
assert(x < 10);
|
|
}
|
|
} |