solidity/test/libsolidity/syntaxTests/freeFunctions/free_function_qualified_modifier.sol
2020-10-13 14:32:11 +02:00

10 lines
160 B
Solidity

contract C {
modifier someModifier() { _; }
}
function fun() C.someModifier {
}
// ----
// SyntaxError 5811: (49-83): Free functions cannot have modifiers.