solidity/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol
2022-04-01 23:41:18 -05:00

6 lines
123 B
Solidity

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