mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjusts syntax tests to new constructor syntax.
This commit is contained in:
@@ -2,4 +2,4 @@ contract C {
|
||||
function constructor() public;
|
||||
}
|
||||
// ----
|
||||
// Warning: (17-47): This function is named "constructor" but is not the constructor of the contract. If you intend this to be a constructor, use "constructor(...) { ... }" without the "function" keyword to define it.
|
||||
// ParserError: (26-37): This function is named "constructor" but is not the constructor of the contract. If you intend this to be a constructor, use "constructor(...) { ... }" without the "function" keyword to define it.
|
||||
|
||||
Reference in New Issue
Block a user