mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add syntax tests for unknown / invalid pragma
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
pragma 0;
|
||||
// ----
|
||||
// SyntaxError: (0-9): Invalid pragma "0"
|
||||
@@ -0,0 +1,3 @@
|
||||
pragma thisdoesntexist;
|
||||
// ----
|
||||
// SyntaxError: (0-23): Unknown pragma "thisdoesntexist"
|
||||
Reference in New Issue
Block a user