mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
237 B
Solidity
14 lines
237 B
Solidity
contract test {
|
|
modifier m {
|
|
uint a = 1;
|
|
assembly {
|
|
a := 2
|
|
}
|
|
_;
|
|
}
|
|
function f() public m {
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (122-151): Function state mutability can be restricted to pure
|