Extract syntax tests

This commit is contained in:
Alex Beregszaszi
2018-04-20 17:38:16 +01:00
parent 72b0412ef6
commit edd20ebefb
2 changed files with 13 additions and 26 deletions
@@ -0,0 +1,12 @@
contract test {
function f() pure public {
bytes32 x = sha3(uint8(1));
x;
}
function g() public {
suicide(1);
}
}
// ----
// Warning: (58-72): "sha3" has been deprecated in favour of "keccak256"
// Warning: (107-117): "suicide" has been deprecated in favour of "selfdestruct"