solidity/test/libsolidity/syntaxTests/freeFunctions/free_function_qualified_modifier.sol

10 lines
160 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
contract C {
modifier someModifier() { _; }
}
function fun() C.someModifier {
}
// ----
// SyntaxError 5811: (49-83): Free functions cannot have modifiers.