blob: 0ac48ecf93b3b381d35794744b734bf44287dc98 (
plain) (
blame)
1
2
3
4
5
|
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.
|