mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
277 B
Solidity
13 lines
277 B
Solidity
contract test {
|
|
function f() pure public {
|
|
bytes32 x = sha3();
|
|
x;
|
|
}
|
|
function g() public {
|
|
suicide(1);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (58-64): "sha3" has been deprecated in favour of "keccak256"
|
|
// Warning: (99-109): "suicide" has been deprecated in favour of "selfdestruct"
|