solidity/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol
2018-05-09 14:08:25 +02:00

6 lines
114 B
Solidity

contract c {
modifier mod { if (msg.sender == 0) _ }
}
// ----
// ParserError: (52-53): Expected ';' but got '}'