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