mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
270 B
Solidity
20 lines
270 B
Solidity
contract C {
|
|
uint8 public a;
|
|
uint16 public b;
|
|
uint128 public c;
|
|
uint public d;
|
|
constructor() {
|
|
a = 3;
|
|
b = 4;
|
|
c = 5;
|
|
d = 6;
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// a() -> 3
|
|
// b() -> 4
|
|
// c() -> 5
|
|
// d() -> 6
|