diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-11 19:26:52 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-11 19:26:52 +0800 |
commit | e7dc9d27fcd21479e897a499af415c906bf3f670 (patch) | |
tree | 3f497071a1e09d39e5b598fe17144f4fd94862fc /test/libsolidity | |
parent | 7c7e154a7b93d880fd173f6d633b8767f12e2469 (diff) | |
download | dexon-solidity-e7dc9d27fcd21479e897a499af415c906bf3f670.tar.gz dexon-solidity-e7dc9d27fcd21479e897a499af415c906bf3f670.tar.zst dexon-solidity-e7dc9d27fcd21479e897a499af415c906bf3f670.zip |
Cleans up syntax test.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol b/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol index 3d5fbf45..692b1827 100644 --- a/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol +++ b/test/libsolidity/syntaxTests/inheritance/base_arguments_empty_parentheses.sol @@ -1,10 +1,7 @@ contract Base { constructor(uint) public {} } -contract Base2 { - constructor(uint, uint) public {} -} contract Derived is Base(2) { } contract Derived2 is Base(), Derived() { } // ---- -// TypeError: (156-162): Wrong argument count for constructor call: 0 arguments given but expected 1. Remove parentheses if you do not want to provide arguments here. +// TypeError: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1. Remove parentheses if you do not want to provide arguments here. |