solidity/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol
2018-05-02 21:21:11 +01:00

6 lines
127 B
Solidity

contract c {
modifier mod { if (msg.sender == 0) _ }
}
// ----
// ParserError: (52-52): Expected token Semicolon got 'RBrace'