mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests for strict address literals
This commit is contained in:
committed by
Alex Beregszaszi
parent
48b003d4d4
commit
98c9ca2575
@@ -4,9 +4,9 @@ contract test {
|
||||
x;
|
||||
}
|
||||
function g() public {
|
||||
suicide(1);
|
||||
suicide(0x0000000000000000000000000000000000000001);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (58-64): "sha3" has been deprecated in favour of "keccak256"
|
||||
// TypeError: (99-109): "suicide" has been deprecated in favour of "selfdestruct"
|
||||
// TypeError: (99-150): "suicide" has been deprecated in favour of "selfdestruct"
|
||||
|
||||
Reference in New Issue
Block a user