mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
219 B
Solidity
19 lines
219 B
Solidity
|
contract C {
|
||
|
modifier m() {
|
||
|
_;
|
||
|
}
|
||
|
|
||
|
modifier n() {
|
||
|
string memory _ = "";
|
||
|
_;
|
||
|
revert(_);
|
||
|
}
|
||
|
|
||
|
function f() m() public {
|
||
|
}
|
||
|
|
||
|
function g() n() public {
|
||
|
}
|
||
|
}
|
||
|
// ----
|