solidity/test/libsolidity/syntaxTests/modifiers/modifier_without_underscore.sol

6 lines
107 B
Solidity
Raw Normal View History

2018-03-16 11:45:12 +00:00
contract test {
modifier m() {}
}
// ----
2018-04-11 15:58:53 +00:00
// SyntaxError: (33-35): Modifier body does not contain '_'.