mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
329 B
Solidity
11 lines
329 B
Solidity
contract c {
|
|
function c ()
|
|
{
|
|
a = 1 wei * 100 wei + 7 szabo - 3;
|
|
}
|
|
uint256 a;
|
|
}
|
|
// ----
|
|
// Warning: (17-86): Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
|
|
// Warning: (17-86): No visibility specified. Defaulting to "public".
|