mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adds some more version pragma test cases.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
pragma solidity v1.2.3;
|
||||
// ----
|
||||
// ParserError 1684: (0-23): Found version pragma, but failed to parse it. Please ensure there is a trailing semicolon.
|
||||
@@ -0,0 +1,3 @@
|
||||
pragma solidity >0.5.0<;
|
||||
// ----
|
||||
// ParserError 1684: (0-24): Found version pragma, but failed to parse it. Please ensure there is a trailing semicolon.
|
||||
@@ -0,0 +1,2 @@
|
||||
pragma solidity >=0.4.0 <0.9.0;
|
||||
// ----
|
||||
Reference in New Issue
Block a user