Adjusts syntax tests to new constructor syntax.

This commit is contained in:
Erik Kundt
2018-07-18 14:29:01 +02:00
parent 182a0a9551
commit de6cd2425b
29 changed files with 3 additions and 116 deletions
@@ -1,3 +1,3 @@
contract A { function A() public {} }
// ----
// Warning: (13-35): Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
// SyntaxError: (13-35): Functions are not allowed to have the same name as the contract. If you intend this to be a constructor, use "constructor(...) { ... }" to define it.