mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
5 lines
210 B
Solidity
5 lines
210 B
Solidity
interface I {}
|
|
contract C is I(2) {}
|
|
// ----
|
|
// TypeError: (29-33): Wrong argument count for constructor call: 1 arguments given but expected 0. Remove parentheses if you do not want to provide arguments here.
|