mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add syntax test for illegal pragma key
This commit is contained in:
parent
fa68e0019f
commit
49573bad46
4
test/libsolidity/syntaxTests/parsing/pragma_illegal.sol
Normal file
4
test/libsolidity/syntaxTests/parsing/pragma_illegal.sol
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user