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