solidity/test/libsolidity/syntaxTests/controlFlow/uninitializedAccess/modifier_order_fine.sol

6 lines
187 B
Solidity
Raw Normal View History

contract C {
modifier m1(uint[] storage a) { _; }
modifier m2(uint[] storage a) { _; }
uint[] s;
function f() m1(b = s) m2(b) internal view returns (uint[] storage b) {}
}