mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
332 B
Solidity
6 lines
332 B
Solidity
contract A { function A(uint a) public { } }
|
|
contract B is A { }
|
|
// ----
|
|
// Warning: (13-42): Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
|
|
// Warning: (24-30): Unused function parameter. Remove or comment out the variable name to silence this warning.
|