diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 03:18:34 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 18:01:41 +0800 |
commit | 49573bad46f7c108bd3a00ec785f7da6a0066530 (patch) | |
tree | ce9738ccb8ab36adb4463a63bf831e23bf332455 /test | |
parent | fa68e0019f92a2327bd31288e75ce44f3c8daf68 (diff) | |
download | dexon-solidity-49573bad46f7c108bd3a00ec785f7da6a0066530.tar.gz dexon-solidity-49573bad46f7c108bd3a00ec785f7da6a0066530.tar.zst dexon-solidity-49573bad46f7c108bd3a00ec785f7da6a0066530.zip |
Add syntax test for illegal pragma key
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/pragma_illegal.sol | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol b/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol new file mode 100644 index 00000000..3395f6be --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol @@ -0,0 +1,4 @@ +pragma ``; +// ---- +// ParserError: (7-8): Token incompatible with Solidity parser as part of pragma directive. +// ParserError: (8-9): Token incompatible with Solidity parser as part of pragma directive. |