solidity/test/libsolidity/syntaxTests/functionCalls/modifier_not_callable.sol

8 lines
135 B
Solidity

contract C {
uint a = m(1000);
modifier m(uint) { _; }
}
// ----
// TypeError 5704: (26-33): This expression is not callable.