solidity/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol

6 lines
114 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract c {
modifier mod { if (msg.sender == 0) _ }
}
// ----
2018-05-09 11:15:27 +00:00
// ParserError: (52-53): Expected ';' but got '}'