diff options
author | chriseth <chris@ethereum.org> | 2018-05-03 14:35:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 14:35:00 +0800 |
commit | 650244f61986ea889dbe0a82a5c9d6ab91ffab5b (patch) | |
tree | 2010208e15fee4c34fac10fc1ee4eba2cd4a4108 /test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol | |
parent | 72c3b3a2422b5f1b1ca80736a84fd88d44da4c47 (diff) | |
parent | 07e765a2f1105343ef495fafeb6faa6cf0fefd18 (diff) | |
download | dexon-solidity-650244f61986ea889dbe0a82a5c9d6ab91ffab5b.tar.gz dexon-solidity-650244f61986ea889dbe0a82a5c9d6ab91ffab5b.tar.zst dexon-solidity-650244f61986ea889dbe0a82a5c9d6ab91ffab5b.zip |
Merge pull request #4053 from ethereum/parser-syntax-tests
Move some parser tests to syntax tests
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol b/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol new file mode 100644 index 00000000..0d719db4 --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/modifier_without_semicolon.sol @@ -0,0 +1,5 @@ +contract c { + modifier mod { if (msg.sender == 0) _ } +} +// ---- +// ParserError: (52-52): Expected token Semicolon got 'RBrace' |