aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol
blob: 1b4888373c948cb2b4f61623be1613a90a5ecdfe (plain) (blame)
1
2
3
4
5
contract c {
    modifier mod { if (msg.sender == 0) _ }
}
// ----
// ParserError: (52-52): Expected ';' but got '}'