solidity/test/libsolidity/syntaxTests/controlFlow/uninitializedAccess/modifier_order_fine.sol
2021-04-20 17:38:29 +02:00

8 lines
196 B
Solidity

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) {}
}
// ----