Add more tests to ViewPureChecker

This commit is contained in:
Alex Beregszaszi
2020-10-02 11:57:35 +01:00
parent 875dc0f10c
commit 32cb5207b3
6 changed files with 32 additions and 2 deletions
@@ -0,0 +1,8 @@
contract C {
function f() pure public returns (bytes memory r) {
r = abi.encode(1, 2);
r = abi.encodePacked(f());
r = abi.encodeWithSelector(0x12345678, 1);
r = abi.encodeWithSignature("f(uint256)", 4);
}
}