solidity/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol
2020-01-08 16:12:06 +01:00

6 lines
114 B
Solidity

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