mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract test cases from ViewPureChecker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
contract C {
|
||||
mapping(uint => uint) a;
|
||||
function f() view public {
|
||||
a;
|
||||
}
|
||||
function g() view public {
|
||||
a[2];
|
||||
}
|
||||
function h() public {
|
||||
a[2] = 3;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user